joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd41
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x34c]
push 0
push eax
call fcn.0040c0f0
push dword [ebp + 8]
lea eax, [ebp - 0x34c]
push eax
call fcn.0040c770
lea eax, [ebp - 0x34c]
push str..
push eax
call fcn.0040c780
add esp, 0x1c
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40bda5
xor eax, eax
jmp 0x40be71
lea ecx, [ebp - 0x144]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ecx
push eax
call edi
test eax, eax
je 0x40be64
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push 0x41d6fc
push eax
call fcn.0040d140
pop ecx
test eax, eax
pop ecx
je 0x40be4f
lea eax, [ebp - 0x118]
push 0x41d6f8
push eax
call fcn.0040d140
pop ecx
test eax, eax
pop ecx
je 0x40be4f
cmp dword [ebp - 0x144], 0x10
jne 0x40be4d
push esi
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.0040c0f0
push dword [ebp + 8]
lea eax, [ebp - 0x248]
push eax
call fcn.0040c770
lea eax, [ebp - 0x248]
push 0x416058
push eax
call fcn.0040c780
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040c780
lea eax, [ebp - 0x248]
push ebx
push eax
call fcn.0040bd41
add esp, 0x2c
jmp 0x40be4f
inc dword [ebx]
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x40bdc2
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x41035d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41dc50
cmp edx, dword [eax]
je 0x41037f
add eax, 8
inc ecx
cmp eax, 0x41dce0
jl 0x410370
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41dc50]
jne 0x4104ad
mov eax, dword [0x41ea20]
cmp eax, 1
je 0x410487
test eax, eax
jne 0x4103b0
cmp dword [0x41d784], 1
je 0x410487
cmp edx, 0xfc
je 0x4104ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4103e7
lea eax, [ebp - 0x1a4]
push 0x41485c
push eax
call fcn.0040c770
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040c620
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41042a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040c620
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x414858
push edi
call fcn.00411b40
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x41483c
push eax
call fcn.0040c770
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c780
lea eax, [ebp - 0xa0]
push 0x414838
push eax
call fcn.0040c780
push dword [esi + 0x41dc54]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c780
push 0x12010
lea eax, [ebp - 0xa0]
push 0x414810
push eax
call fcn.00411ab1
add esp, 0x2c
pop edi
jmp 0x4104ad
lea eax, [ebp + 8]
lea esi, [esi + 0x41dc54]
push 0
push eax
push dword [esi]
call fcn.0040c620
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x412e2e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00412ead
jae 0x412e3a
xor ecx, ecx
call fcn.00412ead
jae 0x412e64
xor eax, eax
call fcn.00412ead
jae 0x412e75
mov al, 0x10
call fcn.00412ead
adc al, al
jae 0x412e56
jne 0x412ea2
stosb byte es:[edi], al
jmp 0x412e3b
call fcn.00412eb9
dec ecx
loop 0x412e81
mov eax, ebp
call fcn.00412eb7
jmp 0x412ea3
lodsb al, byte [esi]
shr eax, 1
je 0x412ec9
adc ecx, 2
mov ebp, eax
jmp 0x412ea3
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00412eb7
cmp eax, 0x7d00
jae 0x412ea1
cmp eax, 0x500
jae 0x412ea2
cmp eax, 0x7f
ja 0x412ea3
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x412e3b
pop ebp
ret 8
Function at 0x409cc4
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4396e4], 0
jne 0x409d83
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.00412fb7
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4396e4], eax
mov dword [ebp - 0xc], 0
jmp 0x409d08
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x409d83
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.00409c6e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x409d37
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x409d64
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x409d5a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x409d62
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x409d2e
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00409c6e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4396e4]
mov dword [ecx + edx*4], eax
jmp 0x409cff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x409d9d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x409dc9
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x4396e4]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x409d94
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x40ac5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x40acc8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x40ad11
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00418f00
add esp, 8
test eax, eax
jne 0x40ad0f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x40ad13
jmp 0x40acbf
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040ead0
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x434780], eax
call fcn.0041d09b
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401116
pop ecx
mov esi, ebp
call fcn.0040e61f
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e625
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401116
add esp, 0xc
inc esi
call fcn.0040e61f
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00401221
call fcn.00401289
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401139
pop ecx
pop ecx
mov esi, eax
call fcn.0040128f
mov edx, ebp
test ebx, ebx
jle 0x401097
mov edi, esi
mov ecx, dword [eax + edx*8]
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x40108a
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a6
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010b2
mov edx, dword [esi]
mov ecx, dword [0x433a90]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426284
push 0x426288
push dword [0x433a94]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d6f
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404337
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.0041d09b
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x4044aa
jg 0x404366
test esi, esi
jb 0x4044aa
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175ef
add esp, 0xc
test eax, eax
js 0x4044aa
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x4043c8
push edi
call fcn.004048b9
pop ecx
test eax, eax
je 0x4043bf
push ebx
push esi
push edi
push ebp
call fcn.0041d09b
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x4044af
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.0041d09b
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x4044aa
jg 0x4043f1
cmp ebp, ebx
jb 0x4044aa
mov ecx, 0x10015
cmp eax, ebx
jg 0x404406
jl 0x404400
cmp ebp, ecx
jae 0x404406
mov esi, ebp
mov ecx, eax
jmp 0x40440a
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.0041d09b
add esp, 0x10
cmp edx, ebx
jl 0x4044aa
jg 0x404430
cmp eax, ebx
jb 0x4044aa
push 0x10015
call fcn.0041d09b
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4044aa
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175ef
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x4044a3
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40449f
cmp byte [esi], 0x50
jne 0x40449e
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40449e
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x4044b6
dec esi
cmp esi, ebx
jae 0x40445f
push ebx
call fcn.0041d09b
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a020
push ebx
call fcn.0041d09b
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.004048b9
add esp, 0x14
test eax, eax
je 0x4044f6
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.0041d09b
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x4044af
Function at 0x405f9c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x433034]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa0]
xor esi, esi
push 0x104
mov dword [ebp - 0x7c], eax
xor ebx, ebx
lea eax, [ebp - 0x74]
push eax
push esi
push edi
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
test eax, eax
jne 0x406069
mov eax, dword [ebp - 0x7c]
inc ebx
push dword [eax + 8]
lea eax, [ebp - 0x74]
push eax
call fcn.00406392
pop ecx
pop ecx
test eax, eax
je 0x406023
test esi, esi
je 0x406017
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.00406405
pop ecx
pop ecx
test eax, eax
jle 0x406023
push esi
call fcn.0040115b
pop ecx
lea eax, [ebp - 0x74]
push eax
call fcn.004011c9
pop ecx
mov esi, eax
push 0x104
lea eax, [ebp - 0x74]
push eax
push ebx
push edi
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
test eax, eax
je 0x405fe6
test esi, esi
je 0x406069
lea eax, [ebp - 0x78]
xor ebx, ebx
push eax
push 0x20019
push ebx
push esi
push edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push esi
test eax, eax
je 0x406083
call fcn.0040115b
pop ecx
cmp dword [ebp - 0x78], ebx
je 0x406069
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040973e
add ebp, 0x94
leave
ret
call fcn.0040115b
pop ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x104
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.JavaHome
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x40605b
cmp dword [ebp - 0x78], ebx
je 0x4060ba
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
call fcn.004011c9
pop ecx
jmp 0x40606b
Function at 0x406afc
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push ecx
push ebx
push esi
push 0x10
call fcn.004069c5
mov esi, eax
push 8
mov dword [esp + 0x10], esi
call fcn.00401139
pop ecx
pop ecx
push 0x433b38
push dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x406b45
push ebx
call fcn.0040115b
push esi
call fcn.00406918
pop ecx
pop ecx
xor eax, eax
jmp 0x406c40
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], 0x433b64
push edi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x406b5d
and dword [ebx + 4], 0
jmp 0x406b7a
push 0x433b38
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb ebp, ebp
and ebp, 0x433b64
je 0x406c24
push ebp
call fcn.0040ee70
pop ecx
cmp eax, 4
jl 0x406b50
cmp byte [eax + ebp - 4], 0x2e
jne 0x406b50
lea edi, [eax - 3]
add edi, ebp
push 0x427a90
push edi
call fcn.00414220
pop ecx
pop ecx
test eax, eax
je 0x406bb4
push 0x427a94
push edi
call fcn.00414220
pop ecx
pop ecx
test eax, eax
jne 0x406b50
push 0x3b
push ebp
call fcn.0040bd80
pop ecx
pop ecx
test eax, eax
jne 0x406b50
push dword [esp + 0x1c]
call fcn.0040ee70
push ebp
mov edi, eax
call fcn.0040ee70
mov esi, eax
lea ecx, [esi + edi]
push ecx
call fcn.00401139
lea ecx, [edi - 1]
mov ebx, eax
push ecx
push dword [esp + 0x2c]
push ebx
call fcn.0040a020
lea ecx, [esi + 1]
push ecx
lea eax, [edi - 1]
add eax, ebx
push ebp
push eax
call fcn.0040a020
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 4]
inc eax
push eax
push esi
call fcn.004067e4
mov ecx, dword [esi + 4]
add esp, 0x2c
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [esi + 4]
mov ebx, dword [esp + 0x14]
jmp 0x406b50
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.0040115b
push ebx
call fcn.0040115b
pop ecx
pop ecx
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x408a7f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4285e0]
sub edx, 1
jne 0x408a86
ret

Function at 0x409cec
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x409d2b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409d2b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409d2b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409d2b
cmp dword [ecx + 0x74], 0xe
jbe 0x409d2b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d09b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x41d0aa
pop dword [ebp - 0x24]
mov eax, 0x4faafe49
sub eax, 0x4f692d9f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x67655cf2
sub dword [ebp - 0x34], 0x191317a7
mov dword [ebp - 0x30], 0xf4b1ff04
add dword [ebp - 0x30], 0x3d814d41
mov dword [ebp - 0x2c], 0xe1bbf741
add dword [ebp - 0x2c], 0x6a904ced
mov dword [ebp - 0x28], 0x625ca7b2
add dword [ebp - 0x28], 0x9da3584e
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1ff8735c
sub eax, 0x1fb61308
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf2764fe8
add dword [ebp - 0x34], 0x81fc196e
mov dword [ebp - 0x30], 0x3779234
sub dword [ebp - 0x30], 0xc20b30bf
mov dword [ebp - 0x2c], 0xbe99bbc9
sub dword [ebp - 0x2c], 0x5b2a4f5d
mov dword [ebp - 0x28], 0x19f555e8
add dword [ebp - 0x28], 0xe60aaa18
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd75
push 0
call eax
mov ecx, 0x3ff5
mov esi, eax
mov edi, 0x2dbfee98
sub edi, 0x2d7bf498
add edi, dword [ebp - 0x24]
mov ebx, 0x126fa2eb
add ebx, 0x8c4a1c4
xor dword [ebp - 0x18], 0x292282aa
mov edx, dword [edi]
sub dword [ebp - 0x20], ebx
xor edx, ebx
add dword [ebp - 4], 0xfa37c28e
mov dword [esi], edx
sub dword [ebp - 8], 0x18bf4f3a
add esi, 4
add edi, 0x8e1b0e
sub edi, 0x8e1b0a
loop 0x41d1c1
add eax, 0x37cfc131
sub eax, 0x37cece8a
mov ebx, eax
add eax, 0x468716f4
add eax, 0xb978e911
mov ecx, 0x568db1ee
add ecx, 0xa9b24e12
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x402332
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004024e2
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402430
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4023d3
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402416
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4023ea
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402405
test al, 0x40
je 0x4023fc
mov ecx, dword [edi + 0x20]
jmp 0x402403
test al, 0x80
je 0x402416
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402416
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4023a2
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40c510
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x487c3b
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.0047a61e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c592
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00477fd2
mov eax, dword [eax]
push 0x584260
push eax
call fcn.00466614
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047a8a9
test bl, bl
je 0x40c592
push 0x584260
lea ecx, [esp + 0xc]
call fcn.0047ac85
push 0x587ddc
lea ecx, [esp + 0xc]
call fcn.0047ac85
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 0x40c5ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047a8a9
jmp 0x40c699
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 0x40c652
lea edx, [esp + 0x7c]
push 0x587dd8
push edx
call fcn.00466614
add esp, 8
test eax, eax
je 0x40c652
lea eax, [esp + 0x7c]
push 0x587dd4
push eax
call fcn.00466614
add esp, 8
test eax, eax
je 0x40c652
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 0x40c5e2
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.0047a8a9
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 0x40ce90
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 0x40cef2
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 0x40cf00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x487cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58f4ac]
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 0x40d038
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40cf66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a8a9
xor eax, eax
jmp 0x40d0af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047aa32
push esi
lea ecx, [esp + 0xc]
call fcn.0047acc1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x587e14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d08d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040ce90
test eax, eax
jne 0x40d08d
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.0040ce90
test eax, eax
jne 0x40d08d
lea eax, [esp + 0x14]
push 0x587df0
push eax
call fcn.00467870
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d06c
lea ecx, [esp + 0x14]
push 0x587dec
push ecx
call fcn.004677f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d06c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d06f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047a9e2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40cf7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a8a9
xor eax, eax
jmp 0x40d0af
mov byte [esi], 0
push 0x587de8
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.0047a8a9
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