joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a0a1
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x44
mov eax, 0x4441bd
call fcn.0043f163
mov eax, dword fs:[0x2c]
mov ecx, dword [0x45e170]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x45e088]
cmp eax, dword [ecx + 4]
jg 0x43a0e9
push 0
push dword [ebp + 0xc]
push esi
push dword [0x45e084]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x43a124
call fcn.0043f121
ret 8
mov edi, 0x45e088
push edi
call fcn.0043f0a9
cmp dword [0x45e088], 0xffffffff
pop ecx
jne 0x43a0cc
and dword [ebp - 4], 0
mov ecx, 0x45e084
call fcn.00439ee8
push 0x4447b4
call fcn.0043ec81
or dword [ebp - 4], 0xffffffff
push edi
call fcn.0043f058
pop ecx
pop ecx
jmp 0x43a0cc
push eax
call fcn.0043a161
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x44a358
lea ecx, [ebp - 0x28]
call fcn.00404a60
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.00439f92
push 0x454f10
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x43aef8
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp edi, 4
jb 0x43af58
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0x18
xor eax, dword [esp + 0x14]
add ebx, 4
mov ecx, dword [esp + 0x10]
add esi, 4
or ecx, eax
sub edi, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x43af1a
pop ebp
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x43af8b
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x43af7a
pop edi
test edx, edx
pop esi
sete al
pop ebx
pop ecx
pop ecx
ret

Function at 0x43af96
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x43b021
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
cmp edi, 4
jb 0x43b008
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x20]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add ebp, 4
add ebx, 4
add esi, 4
sub edi, 4
sub dword [esp + 0x2c], 1
jne 0x43afbf
test edi, edi
je 0x43b01e
sub ebx, esi
sub ebp, esi
mov al, byte [ebx + esi]
xor al, byte [esi]
mov byte [esi + ebp], al
inc esi
sub edi, 1
jne 0x43b010
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x43b026
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x43b09e
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
cmp edi, 4
jb 0x43b08b
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 4
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add esi, 4
add ebx, 4
sub edi, 4
sub ebp, 1
jne 0x43b046
pop ebp
test edi, edi
je 0x43b09c
sub ebx, esi
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x43b091
pop esi
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x43e3b8
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
push 4
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
pop eax
cmp ecx, eax
jbe 0x43e3fe
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add eax, 4
movups xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x43e3e0
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
ret
Function at 0x43e409
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movups xmm0, xmmword [eax + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmmword [esp + 0x2c]
mov eax, edi
shr eax, 2
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], eax
aeskeygenassist xmm0, xmm1, 0
shl edx, 2
lea ecx, [eax + 7]
mov dword [esp + 0x18], 0x44b574
shl ecx, 4
add ecx, esi
mov dword [esp + 0x1c], ecx
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
xor ecx, 1
mov dword [edx + esi], ecx
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [esi + 0x10]
add eax, edx
jmp 0x43e545
cmp edi, 0x18
jne 0x43e4b8
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x43e4fd
cmp edi, 0x20
jne 0x43e4f6
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x43e4fd
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
add esi, edx
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
add eax, 4
xor ecx, dword [esi]
mov dword [edx + esi], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [edx + 0x10]
add eax, esi
cmp eax, dword [esp + 0x1c]
jne 0x43e49a
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43fbb6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43fbf5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43fbf5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43fbf5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43fbf5
cmp dword [ecx + 0x74], 0xe
jbe 0x43fbf5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x244f22e7
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x44431fec
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10001360
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10001384
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100029cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10017038]
jne 0x100029d9
repz ret
jmp fcn.10003893

Function at 0x1000a29c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10017038]
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.1000559b
and dword [ebp - 0x14], 0
cmp dword [0x10019038], 0
mov dword [ebp - 0x18], eax
jne 0x1000a34f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000a3f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000a3f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10012a70
push ebx
mov dword [0x10019038], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001903c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10019040], eax
call edi
push eax
call esi
mov dword [0x10019048], eax
test eax, eax
je 0x1000a34f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10019044], eax
mov eax, dword [0x10019044]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000a3a8
cmp dword [0x10019048], ecx
je 0x1000a3a8
push eax
call esi
push dword [0x10019048]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000a3a8
test ebx, ebx
je 0x1000a3a8
call edi
test eax, eax
je 0x1000a39f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000a39f
test byte [ebp - 8], 1
jne 0x1000a3a8
or dword [ebp + 0x10], 0x200000
jmp 0x1000a3db
mov eax, dword [0x1001903c]
cmp eax, dword [ebp - 0x18]
je 0x1000a3db
push eax
call esi
test eax, eax
je 0x1000a3db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000a3db
mov eax, dword [0x10019040]
cmp eax, dword [ebp - 0x18]
je 0x1000a3db
push eax
call esi
test eax, eax
je 0x1000a3db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10019038]
call esi
test eax, eax
je 0x1000a3f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000a3f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100029cf
leave
ret
Function at 0x29807350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x29877b48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x29807376
xor eax, eax
jmp 0x29807433
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x29807398
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x29807398
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x29807433
cmp dword [esi + 0x4c], 0
je 0x29807431
call fcn.29806b4d
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x298073c2
push dword [esi + 0x4c]
push eax
call fcn.29843cc3
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x29807431
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x298073ff
sub eax, 1
je 0x298073ff
dec eax
sub eax, 1
jne 0x29807431
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x298073b4
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x30], eax
je 0x29807423
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x30], eax
jne 0x29807431
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, ebx
jne 0x29807433
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.29801ca0
leave
ret 4
Function at 0x29827184
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x29855122
call fcn.298516be
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x298273a5
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.29843cc3
add esp, 0x10
test eax, eax
js 0x2982739f
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x29827228
push edi
call fcn.298281ed
pop ecx
test al, al
je 0x29827228
mov eax, edi
call fcn.29851dd0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2982723a
push edi
lea ecx, [ebp - 0x424]
call fcn.29843cc3
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.29843cc3
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2982739f
push 0x60
push ebx
push eax
call fcn.29828560
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x29827292
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.29828560
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x29827292
call fcn.29825408
mov ebx, eax
jmp 0x2982736e
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x298272b9
call fcn.29825408
jmp 0x29827361
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x298272af
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x298272ec
mov ebx, 0x8007000e
jmp 0x29827363
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.29843cc3
jmp 0x29827312
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x298272e5
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.29843cc3
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.29843cc3
mov ebx, eax
test edi, edi
je 0x2982736e
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x29827387
lea ecx, [ebp - 0x418]
call fcn.29825fb4
or dword [ebp - 4], 0xffffffff
jmp 0x29827397
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2982738d
mov eax, ebx
jmp 0x298273d3
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x298273ba
lea ecx, [ebp - 0x418]
call fcn.29825fb4
or dword [ebp - 4], 0xffffffff
jmp 0x298273ca
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x298273c0
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.29851676
ret 0x10
Function at 0x29843cc3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x29843cd2
pop dword [ebp - 4]
mov eax, 0x29843cd2
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xa5d8be0f
sub dword [ebp - 0x14], 0x578678c4
mov dword [ebp - 0x10], 0xf275fb35
add dword [ebp - 0x10], 0x3fbd5110
mov dword [ebp - 0xc], 0xfd990b36
add dword [ebp - 0xc], 0x4eb338f8
mov dword [ebp - 8], 0x13eb3988
sub dword [ebp - 8], 0x13eb3988
lea eax, [ebp - 0x14]
push eax
mov eax, 0x63b1b783
sub eax, 0x3a2c36c3
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x35689883
sub dword [ebp - 0x14], 0xc0f62f2d
mov dword [ebp - 0x10], 0xbf003a85
sub dword [ebp - 0x10], 0x7d93d910
mov dword [ebp - 0xc], 0xdd3c9d73
sub dword [ebp - 0xc], 0x79cd3107
mov dword [ebp - 8], 0xadc23fd6
add dword [ebp - 8], 0x523dc02a
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x4cf82
push 0
call eax
mov ecx, 0x48495020
sub ecx, 0x4848f3fa
xor edx, edx
add edx, eax
mov ebx, 0x38c70ed3
sub ebx, 0xf3d9ad3
add ebx, dword [ebp - 4]
mov esi, 0x454fcbe0
sub esi, 0x3a59903
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 0x6ec2407d
add edx, 0x913dbf87
add ebx, 0x34d19eb
add ebx, 0xfcb2e619
loop 0x29843dec
add eax, 0x2c2d33a7
sub eax, 0x2c2bd03c
xor ebx, ebx
add ebx, eax
add eax, 0x77a18e61
add eax, 0x885e71a4
mov ecx, 0x1dbfc5c
add ecx, 0x27a403a4
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x4012a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push edx
push 8
mov dword [ebp - 0x234], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x230], ebx
cmp esi, 0xffffffff
je 0x401364
push 0x220
lea eax, [ebp - 0x228]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x22c], 0x224
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x40135d
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
mov eax, ebx
lea ecx, [ebp - 0x20c]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x401340
test dl, dl
je 0x40133c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401340
add ecx, 2
add eax, 2
test dl, dl
jne 0x401320
xor eax, eax
jmp 0x401345
sbb eax, eax
or eax, 1
test eax, eax
je 0x4013e1
lea eax, [ebp - 0x22c]
push eax
push esi
call edi
test eax, eax
jne 0x401312
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], ebx
cmp ecx, edx
je 0x4013b3
mov edi, dword [ecx]
lea esi, [ecx + 4]
add edi, ebx
mov dword [ebp - 8], edi
cmp esi, edx
je 0x4013af
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x234]
call ebx
mov edi, dword [esi]
add esi, 4
add edi, dword [ebp - 8]
mov dword [ebp - 8], edi
cmp esi, dword [ebp + 0x10]
jne 0x401385
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x230]
cmp edi, ebx
ja 0x4013b5
xor edi, edi
test ecx, ecx
je 0x4013fc
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x4013f2
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4013f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ebx, dword [ebp - 0x218]
mov dword [ebp - 0x230], ebx
jmp 0x40135d
push edx
push ecx
call fcn.00403690
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403652
mov esp, ebp
pop ebp
ret
Function at 0x401410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x128
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x4014a0
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x18]
push eax
push esi
call edi
cmp eax, 1
jne 0x4014a0
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
call ebx
add esp, 8
test eax, eax
je 0x401498
lea eax, [esp + 0x18]
push eax
push esi
call edi
cmp eax, 1
je 0x401477
jmp 0x4014a0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403652
mov esp, ebp
pop ebp
ret
Function at 0x403ef2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403f31
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403f31
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403f31
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403f31
cmp dword [ecx + 0x74], 0xe
jbe 0x403f31
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mov esi, edx
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x54], cl
push eax
push esi
lea ebx, [ebp - 0x54]
mov dword [ebp - 4], ecx
call fcn.10001df0
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [edi], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x10001d05
push eax
call fcn.10034422
mov ecx, dword [ebp - 0x24]
mov ebx, eax
mov eax, dword [esi + 0x24]
push eax
push ecx
push 1
push ebx
call fcn.1003573c
add esp, 0x14
cmp eax, dword [ebp - 0x24]
je 0x10001cb7
push ebx
call fcn.10032f50
add esp, 4
cmp dword [ebp - 0x40], 0x10
jb 0x10001cb3
mov edx, dword [ebp - 0x54]
push edx
call fcn.10032f50
add esp, 4
xor al, al
jmp 0x10001d19
mov esi, dword [esi + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push ebx
mov ecx, esi
call edx
push ebx
test al, al
jne 0x10001cf0
call fcn.10032f50
add esp, 4
cmp dword [ebp - 0x40], 0x10
jb 0x10001cb3
mov eax, dword [ebp - 0x54]
push eax
call fcn.10032f50
add esp, 4
xor al, al
jmp 0x10001d19
call fcn.10032f50
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov dword [edi], ecx
add esp, 4
mov dword [eax], edx
cmp dword [ebp - 0x40], 0x10
jb 0x10001d17
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.10032f50
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034eea
mov esp, ebp
pop ebp
ret 4