joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402928
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403fdc
test esi, esi
jne 0x40295e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004040cc
jmp 0x40297c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040283c
mov edi, eax
test esi, esi
je 0x40297c
cmp dword [ebx], 0
je 0x40297c
dec esi
jmp 0x402965
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4033c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x414020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403460
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403440
xor eax, eax
push ebp
push 0x403439
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40347c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403440
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x414020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x414020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x415044], 0
je 0x403ec1
cmp word [0x415218], 0xd7b2
jne 0x403e89
cmp dword [0x415220], 0
jbe 0x403e89
mov eax, 0x415214
call dword [0x415230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41408c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403ee8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41402c], 0
jne 0x403edd
push 0
push 0x414084
push 0x41408c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405ad6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040424c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402fbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ac0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405add
lea eax, [ebp - 0x10]
call fcn.00403fdc
ret

Function at 0x409de4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409e1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040cc
jmp 0x409e26
mov eax, ebx
mov edx, esi
call fcn.00404030
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409e30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409e51
mov al, byte [esp]
jmp 0x409e53
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a4d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a350
mov eax, dword [0x414544]
cmp byte [eax], 0
je 0x40a554
mov eax, dword [0x414464]
call fcn.00402cac
call fcn.0040275c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407798
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a59c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a58a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x414440]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415660]
call fcn.00404fc0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b238
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b29c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040424c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004071e0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b2a3
lea eax, [ebp - 0xc]
call fcn.00403fdc
ret

Function at 0x412bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00412984
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404478
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x412c4e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4144d0]
mov dl, 1
mov eax, dword [0x4128a8]
call fcn.0040a698
call fcn.00403a3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x413034
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd34
xor edx, edx
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2b8], edx
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404468
lea eax, [ebp - 0x160]
mov edx, dword [0x406274]
call fcn.004048c8
xor eax, eax
push ebp
push 0x4132d5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x42c888], 0x32
jg 0x41329e
lea eax, [ebp - 0x2b0]
mov ecx, 0x4132e8
mov edx, dword [ebp - 4]
call fcn.004042c4
mov eax, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x160]
mov edx, 0x3f
call fcn.0040754c
cmp dword [ebp - 0x154], 0
je 0x413138
mov eax, dword [ebp - 0x154]
mov edx, 0x4132f8
call fcn.004043c4
je 0x413138
mov eax, dword [ebp - 0x154]
mov edx, 0x413304
call fcn.004043c4
je 0x413138
mov eax, dword [ebp - 0x158]
add eax, 0xfffffff0
sub eax, 2
jb 0x41310f
sub eax, 4
jne 0x413138
push dword [ebp - 4]
push 0x413310
push dword [ebp - 0x154]
lea eax, [ebp - 0x2b4]
mov edx, 3
call fcn.00404338
mov eax, dword [ebp - 0x2b4]
call fcn.00413034
lea edx, [ebp - 0x2b8]
mov eax, dword [ebp - 0x154]
call fcn.004076a0
mov eax, dword [ebp - 0x2b8]
mov edx, 0x41331c
call fcn.004043c4
jne 0x413280
lea edx, [ebp - 0x2c0]
xor eax, eax
call fcn.00402928
mov eax, dword [ebp - 0x2c0]
lea edx, [ebp - 0x2bc]
call fcn.00407668
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x154]
call fcn.004043c4
je 0x413280
push 0
push dword [ebp - 4]
push 0x413310
push dword [ebp - 0x154]
lea eax, [ebp - 0x2c4]
mov edx, 3
call fcn.00404338
mov eax, dword [ebp - 0x2c4]
call fcn.00404478
push eax
call sub.kernel32.dll_SetFileAttributesA
push dword [ebp - 4]
push 0x413310
push dword [ebp - 0x154]
lea eax, [ebp - 0x2c8]
mov edx, 3
call fcn.00404338
mov edx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2ac]
call fcn.00402bfc
mov edx, 1
lea eax, [ebp - 0x2ac]
call fcn.00402f60
mov edx, 0x17000
lea eax, [ebp - 0x2ac]
call fcn.00402f88
push 0
lea edx, [ebp - 7]
mov ecx, 3
lea eax, [ebp - 0x2ac]
call fcn.00402d54
lea eax, [ebp - 0x2ac]
call fcn.00402d94
cmp byte [ebp - 7], 0x4d
je 0x413275
cmp byte [ebp - 6], 0x5a
je 0x413275
cmp byte [ebp - 5], 0x50
je 0x413275
push dword [ebp - 4]
push 0x413310
push dword [ebp - 0x154]
lea eax, [ebp - 0x2cc]
mov edx, 3
call fcn.00404338
mov eax, dword [ebp - 0x2cc]
call fcn.00412e80
inc dword [0x42c888]
lea eax, [ebp - 0x160]
call fcn.0040759c
lea eax, [ebp - 0x160]
call fcn.0040759c
test eax, eax
je 0x4130cf
lea eax, [ebp - 0x160]
call fcn.004075c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4132dc
lea eax, [ebp - 0x2cc]
mov edx, 8
call fcn.00404000
lea eax, [ebp - 0x160]
mov edx, dword [0x406274]
call fcn.0040498c
lea eax, [ebp - 4]
call fcn.00403fdc
ret
Function at 0x413324
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd9
push 0
push 0
dec ecx
jne 0x41332c
push ecx
push ebx
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x41355c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x6a4]
xor eax, eax
call fcn.00402928
mov edx, dword [ebp - 0x6a4]
lea eax, [ebp - 0x154]
call fcn.00402bfc
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00402f60
lea edx, [ebp - 0x6a8]
xor eax, eax
call fcn.00402928
lea eax, [ebp - 0x6a8]
mov edx, 0x413570
call fcn.00404280
mov edx, dword [ebp - 0x6a8]
lea eax, [ebp - 0x2a0]
call fcn.00402bfc
mov edx, 1
lea eax, [ebp - 0x2a0]
call fcn.00402f7c
push 2
lea edx, [ebp - 0x6ac]
xor eax, eax
call fcn.00402928
lea eax, [ebp - 0x6ac]
mov edx, 0x413570
call fcn.00404280
mov eax, dword [ebp - 0x6ac]
call fcn.00404478
push eax
call sub.kernel32.dll_SetFileAttributesA
mov edx, 0x17000
lea eax, [ebp - 0x154]
call fcn.00402f88
xor edx, edx
lea eax, [ebp - 0x2a0]
call fcn.00402f88
push ebx
lea edx, [ebp - 0x6a0]
mov ecx, 0x400
lea eax, [ebp - 0x154]
call fcn.00402d54
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x6a0]
mov ecx, dword [ebx]
lea eax, [ebp - 0x2a0]
call fcn.00402d74
cmp dword [ebx], 0
je 0x413439
mov eax, dword [ebp - 8]
cmp eax, dword [ebx]
je 0x4133ff
lea eax, [ebp - 0x154]
call fcn.00402d94
lea eax, [ebp - 0x2a0]
call fcn.00402d94
push 9
push 0
lea edx, [ebp - 0x6b4]
mov eax, 1
call fcn.00402928
push dword [ebp - 0x6b4]
push 0x413580
lea edx, [ebp - 0x6b8]
mov eax, 2
call fcn.00402928
push dword [ebp - 0x6b8]
push 0x413580
lea edx, [ebp - 0x6bc]
mov eax, 3
call fcn.00402928
push dword [ebp - 0x6bc]
push 0x413580
lea edx, [ebp - 0x6c0]
mov eax, 4
call fcn.00402928
push dword [ebp - 0x6c0]
push 0x413580
lea edx, [ebp - 0x6c4]
mov eax, 5
call fcn.00402928
push dword [ebp - 0x6c4]
push 0x413580
lea edx, [ebp - 0x6c8]
mov eax, 6
call fcn.00402928
push dword [ebp - 0x6c8]
lea eax, [ebp - 0x6b0]
mov edx, 0xb
call fcn.00404338
mov eax, dword [ebp - 0x6b0]
call fcn.00404478
push eax
lea edx, [ebp - 0x6cc]
xor eax, eax
call fcn.00402928
lea eax, [ebp - 0x6cc]
mov edx, 0x413570
call fcn.00404280
mov eax, dword [ebp - 0x6cc]
call fcn.00404478
push eax
push 0
push 1
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413563
lea eax, [ebp - 0x6cc]
mov edx, 0xb
call fcn.00404000
ret
Function at 0x91469c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9146a6
pushal
call 0x9146ac
pop ebp
sub ebp, 0x10
sub ebp, 0x51469c
jmp 0x9146c2
mov eax, 0x51469c
add eax, ebp
add eax, 0x4c
mov ecx, 0x613
mov edx, 0x727da8f1
test al, 0x7d
jb 0x91470a
xor byte [eax], dl
inc eax
dec ecx
adc byte [eax + 0x49], al
jne 0x9146d9
jmp 0x9146ec
jp 0x91472a
jp 0x914768
int 0xf1
int1
int1
jo 0x914726
or ecx, esi
int1
int1
cmp al, 0x49
div ecx
int1
int1
dec ebx
fyl2x
int1
int1
push es
adc esi, edx
cmp dword [edx + 0x70], edi
jp 0x91477c
std
int1
int1
int1
xor al, 0x7c
xchg ebp, eax
aad 0xd
js 0x91470d
aad 0xa1
cdq
int1
inc eax
push ecx
cdq
push 0xf0f1b364
fst st(5)
cdq
aad 0x99
sbb eax, 0x199f2013
hlt
and byte [edi - 0xe0e0be7], bl
int1
sbb bl, bl
int1
int1
int1
movsb byte es:[edi], byte [esi]
jl 0x9146d6
aad 0xf1
jp 0x9147b1
je 0x914737
stc
int1
int1
int1
jp 0x9147a7
std
int1
int1
int1
jp 0x9147c5
loope 0x91473c
int1
int1
xor byte [eax], bl
sal bl, 0x72
xor esi, ebp
mov eax, 0xe0574fe
push cs
push cs
lodsb al, byte [esi]
xor edi, ebp
int1
jp 0x9147df
aad 0xf5
int1
int1
int1
cdq
int1
inc eax
push ecx
cdq
push 0xf0f1b364
fst st(5)
mov al, byte [0xf1f1f419]
sbb esp, esi
int1
int1
int1
sbb byte [eax - 0x5b0e0e0d], ah
int1
int1
movsb byte es:[edi], byte [esi]
jp 0x91479f
push cs
test ch, bh
push cs
test cl, bh
sbb dword [ebp - 0xf], esi
int1
int1
jp 0x9147db
stc
int1
int1
int1
jo 0x914795
mov bl, 0x5e
aas
cmp esi, dword [eax]
mov bl, 0x5e
aas
cmp eax, edx
cmp byte [eax + 3], dh
popal
call 0x4017aa1
ret 0x7038
jo 0x9147ac
popal
call 0x24537aa7
jb 0x9147ca
xor al, dl
and esi, dword [edx + 0x19]
hlt
mov ecx, 0xf1bf75fe
jne 0x914775
int1
int1
int1
invalid
in eax, dx
enter 0xa71, 0x19
invalid
sbb esi, edi
jne 0x9147b4
int1
int1
int1
jno 0x9147d8
sbb dh, bh
jne 0x9147b2
int1
int1
int1
xchg edi, eax
jo 0x9147e2
push cs
aam 0xfe
jne 0x9147c1
int1
int1
int1
mov al, 0x18
cmp eax, 0xd80e0e0e
mov ebp, 0x3072f0c8
hlt
Function at 0x4017ee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x10], 0x30
mov eax, dword [ebp - 0x10]
mov eax, dword fs:[eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 2]
test al, al
je 0x401823
mov dword [esp], 1
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov byte [0x51d800], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call eax
sub esp, 0x14
test eax, eax
je 0x40186d
mov dword [esp], 2
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov byte [0x51d800], 0
mov dword [esp + 4], 0x400
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
call eax
sub esp, 8
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GlobalFlags]
call eax
sub esp, 4
cmp eax, 0x8000
jne 0x4018af
mov dword [esp], 3
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
mov byte [0x51d800], 0
nop
leave
ret 0xc
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x412e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x412ed0
cmp esi, edi
ja 0x412f3b
cmp edi, dword [ebp + 0x10]
ja 0x412f49
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x412ed2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x412ec0
jmp 0x412f2f
ja 0x412ed9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x412e95
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x412f10
mov ebx, esi
sub ecx, edx
jns 0x412f27
jmp 0x412f31
cmp esi, edi
je 0x412f58
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x412f31
xor al, 1
cmp ebx, edi
jne 0x412ef0
jmp 0x412f31
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x4aea4c
call fcn.004105c0
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x4aea4c
call fcn.0040d890
mov ecx, 0x5063db
mov edx, 0x2b
push 0x4aea3c
call fcn.0040db80
nop dword [eax]
Function at 0x419a2a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x400
mov esi, dword [edx + 0x48]
call fcn.00419a41

Function at 0x421b46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x544
mov al, byte [edx + 0x11]
mov dword [ebp - 0x210], ecx
lea ecx, [ebp - 0x538]
mov byte [ecx - 4], al
mov eax, dword [edx + 0xd]
mov dword [ecx - 8], eax
and dword [ecx], 0
and dword [ecx + 4], 0
push 4
pop esi
mov eax, dword [edx + 4]
mov dword [ecx + 8], esi
and dword [ecx + 0xc], 0
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
mov dword [ecx + 0x18], esi
and dword [ecx + 0x1c], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx + 0x28], esi
and dword [ecx + 0x2c], 0
and dword [ecx + 0x30], 0
and dword [ecx + 0x34], 0
mov dword [ecx + 0x38], esi
and dword [ecx + 0x3c], 0
and dword [ecx + 0x40], 0
and dword [ecx + 0x44], 0
xor edi, edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x324], edx
inc edi
mov dword [ecx + 0x48], edi
and dword [ecx + 0x4c], 0
and dword [ecx + 0x50], 0
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x58], edi
and dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], eax
mov al, byte [edx + 8]
mov ah, byte [edx + 9]
mov byte [ecx + 0x64], al
mov byte [ecx + 0x65], ah
mov byte [ecx + 0x66], al
mov al, byte [edx + 0xc]
and dword [ecx - 0x18], 0
and dword [ecx - 0x14], 0
mov dword [ecx - 0x10], esi
and dword [ecx - 0xc], 0
mov byte [ecx - 3], al
mov eax, dword [ebp + 8]
and dword [ecx + 0x50], 0
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x58], edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
call fcn.00421c16
Function at 0x42d130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov esi, edx
mov ebx, ecx
lea edi, [esp + 8]
mov ecx, edi
push 0
call fcn.0042da99
pop eax
mov eax, dword [edi]
cmp eax, 0x2a
jne 0x42d1f3
mov dword [esp], ebx
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x1c]
cmp eax, 1
mov dword [esp + 4], eax
jne 0x42d234
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
push 0x4b4a64
push 0
call fcn.0042072e
pop ecx
pop edx
cmp byte [eax + 0xc], 0
jne 0x42d24d
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42d222
dec eax
mov dword [ebx + 0x1c], eax
shl eax, 4
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx + eax]
cmp edx, 0x80000000
je 0x42d222
add ecx, eax
lea edi, [esp + 0x48]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edi], edx
mov edx, dword [esi]
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
lea ecx, [esp + 8]
push edi
push ebx
call fcn.0042dbc8
pop eax
pop ecx
lea eax, [esp + 8]
mov eax, dword [eax]
cmp eax, 0x2a
jne 0x42d203
mov eax, dword [esp + 0xc]
mov edx, dword [esp]
mov ecx, dword [esi + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx], 0x2a
jmp 0x42d21a
lea esi, [esp + 0xc]
lea edi, [ebx + 4]
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], eax
jmp 0x42d21a
lea esi, [esp + 0x10]
mov ebx, dword [esp]
mov edx, dword [esi - 4]
lea edi, [ebx + 8]
push 0xe
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xf
pop edx
mov ecx, str.non_empty_nodes
push 0x4b4ac0
call fcn.00410f30
and dword [esp + 8], 0
lea ecx, [esp + 4]
mov edx, 0x5043ec
push 0x4b4ad0
push edi
call fcn.0043a345
push 0x39
pop edx
mov ecx, str.assertion_failed:_self.state.uncompiled_0_.last.is_none__
push 0x4b4ab0
call fcn.0040db80
Function at 0x42da99
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov dword [esp + 4], ecx
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
mov edi, dword [edx + 8]
mov dword [esp + 8], ecx
mov ecx, dword [edx + 4]
inc eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 0x1c]
cmp dword [esp + 0xc], edx
jae 0x42db44
dec edx
mov ebx, ecx
mov dword [ecx + 0x1c], edx
shl edx, 4
mov eax, dword [ecx + 0x18]
mov ecx, dword [eax + edx]
cmp ecx, 0x80000000
je 0x42db8f
add eax, edx
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x24]
mov esi, edi
mov ecx, dword [eax + 0xc]
mov dword [edx + 8], ecx
movsd xmm0, qword [eax + 4]
movsd qword [edx], xmm0
lea edi, [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.00420799
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 0x18], eax
movsd qword [esp + 0x10], xmm0
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push ebx
call fcn.0042dbc8
pop eax
pop ecx
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cmp eax, 0x2a
jne 0x42db70
mov ecx, ebx
jmp 0x42dabd
test edx, edx
je 0x42dba1
mov ecx, dword [ecx + 0x18]
lea eax, [edx - 1]
push 0x4b4af0
push eax
call fcn.0042072e
pop ecx
pop edx
mov ecx, eax
mov edx, edi
call fcn.00420799
mov eax, dword [esp + 4]
mov dword [eax], 0x2a
jmp 0x42db87
mov edx, dword [esp + 4]
mov ebx, edi
lea esi, [esp + 0x28]
lea edi, [edx + 8]
push 0xe
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [edx], eax
mov dword [edx + 4], ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2b
pop edx
mov ecx, 0x5063db
push 0x4b4a54
call fcn.0040db80
push 0xf
pop edx
mov ecx, str.non_empty_nodes
push 0x4b4ae0
call fcn.00410f30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, eax
call fcn.004203d7
push esi
call fcn.004a1fc0