joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002887
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x198d
je 0x100028b7
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x100028b6
mov eax, dword [ebp + 8]
mov ecx, esi
and ecx, 3
shl ecx, 3
mov edx, 0x867
shr edx, cl
xor byte [eax + esi], dl
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x1000289b
pop esi
pop ebp
ret
Function at 0x10002d0c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x100200b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp + 0xc]
push 0x40000000
push eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x108], eax
cmp eax, 0xffffffff
je 0x10002e62
push edi
push 0xfe
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.1000cce0
lea edi, [ebp - 0x104]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10002d83
push esi
mov esi, 0x1001c704
push 1
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x10002da1
mov esi, str.cef.dll
lea eax, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x10c]
movsd dword es:[edi], dword [esi]
call fcn.1000b560
pop ecx
pop ecx
test eax, eax
je 0x10002e22
mov esi, 0x1f400000
push esi
call fcn.1000b4cb
mov edi, eax
pop ecx
cmp edi, ebx
je 0x10002e54
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push edi
call fcn.10013660
mov eax, dword [ebp - 0x110]
mov ecx, esi
sub ecx, eax
push ecx
add eax, edi
push ebx
push eax
call fcn.1000cce0
add esp, 0x18
push ebx
lea eax, [ebp - 0x10c]
push eax
push esi
push edi
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.1000b491
pop ecx
jmp 0x10002e48
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x110]
mov dword [ebp - 0x10c], ebx
push dword [ebp - 0x114]
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000ad41
leave
ret

Function at 0x10002e6f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.1000aa9e
pop ecx
push esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10002ecd
push dword [ebp + 8]
call esi
push edi
call fcn.1000b8a1
pop ecx
push dword [ebp + 8]
call esi
lea esi, [ebx - 0x850]
push esi
call fcn.1000aa9e
mov ebx, eax
push esi
lea eax, [edi + 0x36]
push eax
push ebx
call fcn.10013660
push 0x18cc
push esi
push ebx
call fcn.10002887
push esi
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.10002d0c
push ebx
call fcn.1000b8a1
push edi
call fcn.1000b8a1
add esp, 0x2c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002f16
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100200b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 0x41564441
mov dword [ebp - 0x10], 0x32334950
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], bl
mov dword [ebp - 0x24], 0x47676552
mov dword [ebp - 0x20], 0x61567465
mov dword [ebp - 0x1c], 0x4165756c
mov byte [ebp - 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push 2
mov edi, 0x1001c710
push edi
push esi
mov esi, SysStringLen
push esi
mov dword [ebp - 0x34], eax
call eax
test eax, eax
jne 0x10002fca
cmp dword [ebp - 0x28], 0x400
ja 0x10002fca
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
push ebx
push 2
push edi
push dword [ebp - 0x30]
push esi
call dword [ebp - 0x34]
test eax, eax
jne 0x10002fca
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jbe 0x10002fca
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax - 1], bl
mov al, 1
jmp 0x10002fcc
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ad41
leave
ret
Function at 0x10002fdd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x100200b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x154], eax
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], 0x41564441
mov dword [ebp - 0x10], 0x32334950
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], bl
mov dword [ebp - 0x40], 0x4f676552
mov dword [ebp - 0x3c], 0x4b6e6570
mov dword [ebp - 0x38], 0x78457965
mov word [ebp - 0x34], 0x41
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x150]
push ecx
push 0x20019
push ebx
push 0x1001c710
push SysStringLen
call eax
test eax, eax
je 0x10003077
xor al, al
jmp 0x100031b8
push 0xff
lea eax, [ebp - 0x13f]
push ebx
push eax
mov byte [ebp - 0x140], bl
call fcn.1000cce0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14c], 0x100
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x30], 0x45676552
mov dword [ebp - 0x2c], 0x4b6d756e
mov dword [ebp - 0x28], 0x78457965
mov word [ebp - 0x24], 0x41
call esi
push eax
call edi
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x140]
push ecx
push ebx
push dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
call eax
cmp eax, 0x103
je 0x1000317a
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x148]
cmp ecx, dword [eax]
jae 0x1000317a
push 0x100
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x144]
call fcn.1000b6c0
mov eax, dword [ebp - 0x144]
add esp, 0xc
inc dword [ebp - 0x148]
push ebx
push ebx
mov byte [eax + 0xff], bl
push ebx
mov eax, 0x100
add dword [ebp - 0x144], eax
push ebx
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x148]
push dword [ebp - 0x150]
call dword [ebp - 0x158]
cmp eax, 0x103
jne 0x10003102
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x154]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x20], 0x43676552
mov dword [ebp - 0x1c], 0x65736f6c
mov dword [ebp - 0x18], 0x79654b
call esi
push eax
call edi
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ad41
leave
ret
Function at 0x1000767c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x10007687
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1000773b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1001c208]
add ecx, 8
sub edi, 8
dec esi
jne 0x1000769e
pop ebx
test edi, edi
je 0x10007754
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x1001c208]
inc ecx
dec edi
jne 0x1000773f
pop esi
not eax
pop edi
ret

Function at 0x10007759
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x1001c208]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1001c208]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x10007e76
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x10007ea6
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10007ea1
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x10007ece
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x10007eb7
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.10013660
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x10008b0f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x10008b87
cmp dword [esi + 4], 0xffffffff
jne 0x10008b87
lea edi, [esi + 0x140]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10008b35
sub eax, ecx
lea eax, [eax + esi + 0x13f]
mov cl, byte [eax]
cmp cl, 0x5c
je 0x10008b57
cmp cl, 0x2f
je 0x10008b57
mov word [eax + 1], 0x2f
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.10007d6b
pop ecx
pop ecx
test eax, eax
jne 0x10008b6e
mov eax, dword [ebp + 8]
jmp 0x10008b8c
push eax
call fcn.100080e7
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x10008b8c
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x1000916f
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100200b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
je 0x100091ee
push 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1000be5b
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100091ac
sub eax, ecx
je 0x100091cd
lea eax, [ebp + eax - 0x20d]
mov cl, byte [eax]
cmp cl, 0x2f
je 0x100091ca
cmp cl, 0x5c
jne 0x100091cd
mov byte [eax], 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100091ee
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [edi]
test al, al
je 0x100092af
push esi
mov esi, edi
mov ecx, edi
cmp al, 0x2f
je 0x10009205
cmp al, 0x5c
jne 0x10009207
mov esi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x100091fd
cmp esi, edi
je 0x1000923a
sub esi, edi
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10013660
lea eax, [ebp - 0x20c]
push eax
push ebx
mov byte [ebp + esi - 0x20c], 0
call fcn.1000916f
add esp, 0x14
mov byte [ebp - 0x108], 0
pop esi
test ebx, ebx
je 0x1000925b
push 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1000be5b
add esp, 0xc
lea eax, [ebp - 0x108]
mov byte [ebp - 5], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10009268
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
push ecx
lea eax, [ebp + eax - 0x108]
push edi
push eax
call fcn.1000be5b
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100092af
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000ad41
leave
ret
Function at 0x10009ce2
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x1001aa28]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1001aa28]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x10009d54
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x10009dc7
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x10009d80
cmp dword [esi + 0x40], edi
jae 0x10009d80
push eax
call fcn.1000b8df
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x10009d95
lea eax, [edi + edi]
push eax
call fcn.1000bd08
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.10013660
add esp, 0xc
test edi, edi
je 0x10009dc4
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea ecx, [esi + 0x30]
call fcn.10009d28
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x10009da8
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10009df6
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x10009de2
mov dword [esi + 0x14], 0x30000
jmp 0x10009e18
push edi
push edx
add eax, ecx
push eax
call fcn.10013660
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x10009e1a
mov eax, dword [esi + 4]
test eax, eax
je 0x10009e11
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x10009e1a
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000ad41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100200b0]
jne 0x1000ad4b
repz ret
jmp fcn.1000cd5a

Function at 0x10013a10
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100200b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000e859
and dword [ebp - 0x14], 0
cmp dword [0x10021e90], 0
mov dword [ebp - 0x18], eax
jne 0x10013ac3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10013b6b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10013b6b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10021e90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10021e94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10021e98], eax
call edi
push eax
call esi
mov dword [0x10021ea0], eax
test eax, eax
je 0x10013ac3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10021e9c], eax
mov eax, dword [0x10021e9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10013b1c
cmp dword [0x10021ea0], ecx
je 0x10013b1c
push eax
call esi
push dword [0x10021ea0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10013b1c
test ebx, ebx
je 0x10013b1c
call edi
test eax, eax
je 0x10013b13
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10013b13
test byte [ebp - 8], 1
jne 0x10013b1c
or dword [ebp + 0x10], 0x200000
jmp 0x10013b4f
mov eax, dword [0x10021e94]
cmp eax, dword [ebp - 0x18]
je 0x10013b4f
push eax
call esi
test eax, eax
je 0x10013b4f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10013b4f
mov eax, dword [0x10021e98]
cmp eax, dword [ebp - 0x18]
je 0x10013b4f
push eax
call esi
test eax, eax
je 0x10013b4f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10021e90]
call esi
test eax, eax
je 0x10013b6b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10013b6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ad41
leave
ret
Function at 0x458b23
Capabilities:
Encode data using xor

Disassembly:
inc ecx
inc esp
xchg ebx, eax
xor dword [ecx - 0x26c45f53], esi
and dword [ebx], ebp
sub dword [ebp + 0x7d08f9fc], eax
cmp al, 0xff
cmc
jge 0x458b1e
push ebp
popal
lahf
jle 0x458ad0
and dl, ch
push esi
fdiv st(7)
xchg dword [0xe77cfd2f], edi
xchg ebx, eax
cmpsd dword [esi], dword es:[edi]
vpavgb xmm7, xmm5, xmm2
invalid
sbb byte [eax + 0x46], dh
inc esi
xchg edi, eax
jns 0x458ae0
pop edi
loopne 0x458b1c
cmp al, 0x1d
adc dword [esi + 0x72], esi
push edi
invalid

Function at 0x4661c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
push cs
das
dec ebp
mov byte [edi + edi*4 - 0x706d6b05], al
inc edi
enter 0x7a77, 0xb
test byte [ecx - 0x51], bl
insd dword es:[edi], dx
scasd eax, dword es:[edi]
out 0x77, eax
mov bh, 0xdf
or bl, dh
pushfd
fstp st(5)
mov eax, 0x5fa0387
lcall 0x36b3, 0x734ebbfe
jle 0x466225
test al, 0x27
jp 0x466256
cmp edi, dword [edx - 0xe6d6672]
xchg ebx, eax
sbb cl, ah
out 0x23, eax
sahf
bound edi, qword [eax + 0x4f]
mov dword [0xe6fe4afc], eax
mov edx, 0x69ce3f95
mov word [ecx - 0x18], fs
outsb dx, byte [esi]
cmp bh, byte fs:[ebx - 0x39]
xchg ebp, eax
adc bh, bl
out dx, al
out 0xed, eax
xor al, 0xdb
push cs
out dx, eax
push esp
frstor dword [esi]
invalid
invalid
Function at 0x404a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5e000c]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ecx
mov ecx, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
lea esi, [edx + 2]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 7
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404a81
sub edx, esi
sar edx, 1
push edx
push ecx
lea ecx, [esp + 0x24]
call fcn.004039b0
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmp dword [esp + 0x30], 8
mov edx, 0x811c9dc5
mov edi, dword [esp + 0x1c]
cmovae esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x404ad1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x404ac0
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00406070
mov esi, dword [eax + 4]
test esi, esi
jne 0x404af1
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x404b2b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404b21
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404b21
call dword [0x5a67b8]
push ecx
push edi
call fcn.0052f847
add esp, 8
cmp esi, dword [ebx + 4]
je 0x404b66
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x404b4d
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x404b46
mov eax, dword [eax]
push edx
push eax
call fcn.004039b0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0052f4c5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f4c5
mov esp, ebp
pop ebp
ret 8
Function at 0x404b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x5e000c]
xor eax, esp
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp], ecx
mov ecx, edx
push ebx
push esi
push edi
mov dword [esp + 0x10], eax
lea esi, [ecx + 2]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404bc1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004039b0
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmp dword [esp + 0x30], 8
mov edx, 0x811c9dc5
mov edi, dword [esp + 0x1c]
cmovae esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x404c11
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x404c00
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00406070
mov esi, dword [eax + 4]
test esi, esi
jne 0x404c32
mov esi, dword [ebx + 0x24]
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x404c6c
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404c62
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c62
call dword [0x5a67b8]
push ecx
push edi
call fcn.0052f847
add esp, 8
mov eax, ebx
cmp esi, dword [eax + 0x24]
je 0x404ca9
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x20]
cmp ecx, eax
je 0x404c90
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x404c89
mov eax, dword [eax]
push edx
push eax
call fcn.004039b0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0052f4c5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052f4c5
mov esp, ebp
pop ebp
ret 8