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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4299a0
push 0x40e3d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, 0x94
call fcn.0040e030
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], 0x94
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x10]
mov dword [0x42f1dc], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov dword [0x42f1e8], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 8]
mov dword [0x42f1ec], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
and ecx, 0x7fff
mov dword [0x42f1e0], ecx
cmp dword [0x42f1dc], 2
je 0x40da2f
mov edx, dword [0x42f1e0]
or edx, 0x8000
mov dword [0x42f1e0], edx
mov eax, dword [0x42f1e8]
shl eax, 8
add eax, dword [0x42f1ec]
mov dword [0x42f1e4], eax
call fcn.0040dc10
mov dword [ebp - 0x6c], eax
push 1
call fcn.00412730
add esp, 4
test eax, eax
jne 0x40da62
push 0x1c
call fcn.0040dbe0
add esp, 4
call fcn.004119a0
test eax, eax
jne 0x40da75
push 0x10
call fcn.0040dbe0
add esp, 4
call fcn.00416cb0
mov dword [ebp - 4], 0
call fcn.00416880
test eax, eax
jge 0x40da94
push 0x1b
call fcn.0040dbb0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x430944], eax
call fcn.00416660
mov dword [0x42f05c], eax
call fcn.00416200
test eax, eax
jge 0x40dabc
push 8
call fcn.0040dbb0
add esp, 4
call fcn.00416080
test eax, eax
jge 0x40dacf
push 9
call fcn.0040dbb0
add esp, 4
push 1
call fcn.0040fab0
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x40daee
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0040dbb0
add esp, 4
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call main
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x34]
and eax, 1
je 0x40db18
movzx ecx, word [ebp - 0x30]
mov dword [ebp - 0x80], ecx
jmp 0x40db1f
mov dword [ebp - 0x80], 0xa
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00403490
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x6c], 0
jne 0x40db49
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0040fb10
call fcn.0040fb50
mov dword [ebp - 4], 0xffffffff
jmp 0x40db96
mov eax, dword [ebp - 0x74]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40dc10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x40dc36
xor eax, eax
jmp 0x40dcbd
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x40dc51
xor eax, eax
jmp 0x40dcbd
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x40dc77
cmp dword [ebp - 0x14], 0x20b
je 0x40dc97
jmp 0x40dcbb
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x40dc84
xor eax, eax
jmp 0x40dcbd
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x40dcbd
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x40dcaa
xor eax, eax
jmp 0x40dcbd
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x40dcbd
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40dcd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e16c]
jne 0x40dcd9
ret
jmp fcn.0040dce0

Function at 0x40fb90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a030
push 0x40e3d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
call fcn.0040fd10
mov dword [ebp - 4], 0
cmp dword [0x42f21c], 1
jne 0x40fbd9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x42f218], 1
mov cl, byte [ebp + 0x10]
mov byte [0x42f214], cl
cmp dword [ebp + 0xc], 0
jne 0x40fc3e
cmp dword [0x430938], 0
je 0x40fc2c
mov edx, dword [0x430934]
sub edx, 4
mov dword [0x430934], edx
mov eax, dword [0x430934]
cmp eax, dword [0x430938]
jb 0x40fc2c
mov ecx, dword [0x430934]
cmp dword [ecx], 0
je 0x40fc2a
mov edx, dword [0x430934]
call dword [edx]
jmp 0x40fbfb
push 0x42e0b0
push 0x42e0a8
call fcn.0040fd30
add esp, 8
push 0x42e0bc
push 0x42e0b4
call fcn.0040fd30
add esp, 8
cmp dword [0x42f220], 0
jne 0x40fc77
push 0xffffffffffffffff
call fcn.0040c7e0
add esp, 4
and eax, 0x20
je 0x40fc77
mov dword [0x42f220], 1
call fcn.0040d280
mov dword [ebp - 4], 0xffffffff
call fcn.0040fc85
jmp 0x40fc91
cmp dword [ebp + 0x10], 0
je 0x40fc99
jmp 0x40fcaf
mov dword [0x42f21c], 1
mov eax, dword [ebp + 8]
push eax
call fcn.0040fcc0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4103c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x42f238], 0
jne 0x41047b
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x410412
push str.MessageBoxA
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f238], eax
cmp dword [0x42f238], 0
jne 0x410419
xor eax, eax
jmp 0x41052a
push str.GetActiveWindow
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f23c], eax
push str.GetLastActivePopup
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f240], eax
cmp dword [0x42f1dc], 2
jne 0x41047b
push str.GetUserObjectInformationA
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f248], eax
cmp dword [0x42f248], 0
je 0x41047b
push str.GetProcessWindowStation
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f244], eax
cmp dword [0x42f244], 0
je 0x4104bc
call dword [0x42f244]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4104b5
lea edx, [ebp - 0x18]
push edx
push 0xc
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x42f248]
test eax, eax
je 0x4104b5
mov edx, dword [ebp - 4]
and edx, 1
jne 0x4104bc
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x4104e6
cmp dword [0x42f1e8], 4
jb 0x4104d8
mov eax, dword [ebp + 0x10]
or eax, 0x200000
mov dword [ebp + 0x10], eax
jmp 0x4104e4
mov ecx, dword [ebp + 0x10]
or ecx, 0x40000
mov dword [ebp + 0x10], ecx
jmp 0x410514
cmp dword [0x42f23c], 0
je 0x4104f8
call dword [0x42f23c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x410514
cmp dword [0x42f240], 0
je 0x410514
mov edx, dword [ebp - 0x14]
push edx
call dword [0x42f240]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [0x42f238]
mov esp, ebp
pop ebp
ret
Function at 0x416e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x42e16c]
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
jmp 0x416e24
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
jae 0x416e3d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x42e700]
jne 0x416e3b
jmp 0x416e3d
jmp 0x416e1b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x42e700]
jne 0x416ffb
cmp dword [ebp + 8], 0xfc
je 0x416e83
cmp dword [ebp + 8], 0xff
je 0x416e83
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x42e704]
push eax
push 0
push 0
push 0
push 1
call fcn.00409f40
add esp, 0x14
cmp eax, 1
jne 0x416e83
int3
cmp dword [0x42f064], 1
je 0x416e9e
cmp dword [0x42f064], 0
jne 0x416ed7
cmp dword [0x42e168], 1
jne 0x416ed7
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x42e704]
push eax
call fcn.0040f920
add esp, 4
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x42e704]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x416ffb
cmp dword [ebp + 8], 0xfc
je 0x416ffb
mov byte [ebp - 0x1c], 0
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x416f14
push str._program_name_unknown_
lea ecx, [ebp - 0x120]
push ecx
call fcn.0040f9b0
add esp, 8
lea edx, [ebp - 0x120]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040f920
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x416f5d
lea ecx, [ebp - 0x120]
push ecx
call fcn.0040f920
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax - 0x3b]
mov dword [ebp - 0x10], eax
push 3
push 0x429004
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00410530
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040f920
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x42e704]
push ecx
call fcn.0040f920
add esp, 4
lea eax, [esi + eax + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.0040e030
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xc], edx
push str.Runtime_Error__n_nProgram:
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040f9b0
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040f9c0
add esp, 8
push 0x428f78
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040f9c0
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x42e704]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040f9c0
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004103c0
add esp, 0xc
lea esp, [ebp - 0x128]
mov ecx, dword [ebp - 0x14]
call fcn.0040dcd0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420fb0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.0040e030
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x420fe4
xor eax, eax
jmp 0x4210f2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42f1dc]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x421037
xor eax, eax
jmp 0x4210f2
cmp dword [0x42f1dc], 1
je 0x4210bd
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x421061
xor eax, eax
jmp 0x4210f2
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x421046
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x42108c
mov eax, 1
jmp 0x4210f2
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x421098
xor eax, eax
jmp 0x4210f2
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x4210a6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x4210c3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x42f1dc]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x421360
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42e16c]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
push 6
lea eax, [ebp - 0x10]
push eax
push 0x1004
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x421394
mov dword [ebp - 4], 0xffffffff
jmp 0x4213a3
lea edx, [ebp - 0x10]
push edx
call fcn.004217d0
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040dcd0
mov esp, ebp
pop ebp
ret
Function at 0x408934
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
add edx, edi
call main
add edx, edx
add edi, edx
xor dword [eax], esi
and edi, edx
add edi, 0x6e5cd520
inc eax
dec edi
cmp eax, ecx
jne fcn.00408934
ret
Function at 0x47bef8
Capabilities:
Encode data using xor

Disassembly:
salc
add dword [edi], ecx
test ecx, eax
invalid
fidiv word [0xed577d25]
fidivr dword [ecx - 0x32d3862f]
fisubr word [ebp - 0x7ba8bd5b]
and al, 0x7d
pop ebx
imul ebp, dword [ebx - 0x5b09c05c], 0xe655d40c
ja 0x47bf73
push 0x26
jp 0x47bee4
js 0x47bec3
jl 0x47bec7
mov edx, 0x6aa7a1f1
mov eax, dword [0xaa2ed6b9]
adc al, 0xab
push 0xffffffffffffffa1
mov ecx, 0x14aa2ed6
stosd dword es:[edi], eax
cmc
xchg esp, eax
cmp eax, dword [ecx + 0x6b]
mov eax, dword [0xe5de53f9]
inc esp
mov dword [0xde8ca46e], eax
mov dl, 0xa9
cmp al, 0x4c
imul ebx, dword [edi], 0xfffffff1
fisubr word [esp + 0x7c]
fsubrp st(4)
movsd dword es:[edi], dword [esi]
in al, 0x22
mov esp, 0x3b5ba924
xchg ecx, eax
cmp eax, 0x82d47315
salc
imul esp, dword [edx + 0x2cd06e2d], 0xa42cd6c4
mov al, 0x14
imul edx, dword [ecx - 0x5421ac46], 0x3a
xor al, 0x6a
mov cl, 0xb9
push ebx
insd dword es:[edi], dx
imul edi, dword [ebx - 0x6573467c], 0x7d6655ac
test al, 0xf5
adc dh, 0x69
mov byte [0x2cd06e2d], al
invalid
mov ebx, 0x9a8cb984
lodsb al, byte [esi]
push ebp
jge 0x47bf25
cmc
lea eax, [ebp - 0x50]
jb 0x47bf57
cmp byte [ecx - 0x463a130b], 0x6d
in al, dx
invalid
Function at 0x5f9830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19c000]
push edi
jmp 0x5f984a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f9851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f9840
mov eax, 1
add ebx, ebx
jne 0x5f9863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f9874
jne 0x5f9893
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f9893
dec eax
add ebx, ebx
jne 0x5f9880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f9858
add ebx, ebx
jne 0x5f988f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f98e5
xor ecx, ecx
sub eax, 3
jb 0x5f98ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f991a
sar eax, 1
mov ebp, eax
jmp 0x5f98b6
add ebx, ebx
jne 0x5f98b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f9884
inc ecx
add ebx, ebx
jne 0x5f98c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f9884
add ebx, ebx
jne 0x5f98d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f98c6
jne 0x5f98e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f98c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f9904
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f98f6
jmp 0x5f9846
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f9904
add edi, ecx
jmp 0x5f9846
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f9922
cmp byte [edi], 0x11
jne 0x5f9922
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5f9927
lea edi, [esi + 0x1f2000]
mov eax, dword [edi]
or eax, eax
je 0x5f999f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30d630]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30d7ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f9954
mov ecx, edi
jns 0x5f9983
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30d7b0]
or eax, eax
je 0x5f9999
mov dword [ebx], eax
add ebx, 4
jmp 0x5f9971
call dword [esi + 0x30d7c0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f99d0
cmp al, 0xef
ja 0x5f99c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f99a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f99b2
mov ebp, dword [esi + 0x30d7b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f9a04
sub esp, 0xffffff80
jmp 0x420577
Function at 0x41eea0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d25b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047207b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ef22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046ffca
mov eax, dword [eax]
push 0x49e220
push eax
call fcn.00462c94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00472306
test bl, bl
je 0x41ef22
push 0x49e220
lea ecx, [esp + 0xc]
call fcn.00472696
push 0x4a1d80
lea ecx, [esp + 0xc]
call fcn.00472696
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41ef5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00472306
jmp 0x41f029
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41efe2
lea edx, [esp + 0x7c]
push 0x4a1d7c
push edx
call fcn.00462c94
add esp, 8
test eax, eax
je 0x41efe2
lea eax, [esp + 0x7c]
push 0x4a1d78
push eax
call fcn.00462c94
add esp, 8
test eax, eax
je 0x41efe2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41ef72
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00472306
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41f820
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41f882
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41f890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a9ee0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41f9c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41f8f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00472306
xor eax, eax
jmp 0x41fa3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00472443
push esi
lea ecx, [esp + 0xc]
call fcn.004726d2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41fa1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041f820
test eax, eax
jne 0x41fa1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0041f820
test eax, eax
jne 0x41fa1d
lea eax, [esp + 0x14]
push 0x4a1d94
push eax
call fcn.00463cd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f9fc
lea ecx, [esp + 0x14]
push 0x4a1d90
push ecx
call fcn.00463c50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f9fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41f9ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004723f3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41f90e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00472306
xor eax, eax
jmp 0x41fa3f
mov byte [esi], 0
push 0x4a1d8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00472306
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4