joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cee7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edx
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040ba75
pushfd
out dx, eax
pop ds
push 0xffffffffffffff8d
test esp, edx
clc
invalid

Function at 0x4223e9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov word [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
cmp dword [0x4940dc], 0
je 0x422428
sub ax, ax
jmp 0x422642
cmp dword [0x48fc30], 0
je 0x422444
mov eax, dword [str.WIN95]
mov dword [0x494100], eax
jmp 0x42244e
mov eax, dword [0x49410c]
mov dword [0x494100], eax
cmp dword [ebp - 4], 0
jne 0x4224d3
cmp dword [0x494888], 0
je 0x4224d3
mov eax, dword [0x494888]
mov dword [ebp - 4], eax
push 0
push dword [0x494128]
push dword [ebp - 4]
call fcn.00472d10
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x42249e
mov word [ebp - 8], 1
jmp 0x42261e
push dword [ebp - 0x10c]
call fcn.00473710
add esp, 4
or eax, eax
jne 0x4224d3
push dword [ebp - 0x10c]
call fcn.00472a0c
add esp, 4
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x422558
cmp dword [0x49488c], 0
je 0x422558
mov eax, dword [0x49488c]
mov dword [ebp - 4], eax
push 0
push dword [0x494128]
push dword [ebp - 4]
call fcn.00472d10
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x422523
mov word [ebp - 8], 1
jmp 0x42261e
push dword [ebp - 0x10c]
call fcn.00473710
add esp, 4
or eax, eax
jne 0x422558
push dword [ebp - 0x10c]
call fcn.00472a0c
add esp, 4
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10c], 0
jne 0x42257e
push 0
push dword [0x494128]
push dword [ebp - 4]
call fcn.00472d10
add esp, 0xc
mov dword [ebp - 0x10c], eax
push dword [ebp - 0x10c]
call sub.KERNEL32.dll_LoadLibraryA
mov dword [0x4940fc], eax
cmp dword [0x4940fc], 0
jne 0x4225a6
mov word [ebp - 8], 2
jmp 0x42261e
push dword [0x494138]
push dword [0x4940fc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x494184], eax
push dword [0x494148]
push dword [0x4940fc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x494188], eax
push dword [0x494158]
push dword [0x4940fc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x49418c], eax
push dword [0x494170]
push dword [0x4940fc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x494190], eax
push dword [0x494180]
push dword [0x4940fc]
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x494194], eax
mov dword [0x4940dc], 1
cmp dword [ebp - 0x10c], 0
je 0x422639
push dword [ebp - 0x10c]
call fcn.00472a0c
add esp, 4
mov ax, word [ebp - 8]
jmp 0x422642
pop edi
pop esi
pop ebx
leave
ret
Function at 0x485d90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
sub esi, esi
lea eax, [esp + 4]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
cmp eax, esi
je 0x485dc5
cmp byte [esp + 5], 0x3a
jne 0x485dc5
xor eax, eax
mov al, byte [esp + 4]
push eax
call fcn.00486190
add esp, 4
lea esi, [eax - 0x40]
mov eax, esi
pop esi
add esp, 0x104
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e738
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], edx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [ebp - 4], eax
push ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x60], ecx
push eax
mov ecx, esi
mov dword [esi], vtable.TrButton.0
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x28], 1
mov dword [esi + 0x20], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], eax
call fcn.004011d0
mov eax, dword [esi + 0x40]
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ef5e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x90], bl
mov byte [ebp - 4], 3
push 0x30
mov dword [esi + 0xb4], ebx
call fcn.00427fec
add esp, 4
cmp eax, ebx
je 0x401bed
mov dword [esi + 0xb0], eax
mov dword [eax], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xb0]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0xb0]
mov eax, 1
mov byte [ecx + 0x2c], al
mov edx, dword [esi + 0xb0]
mov byte [edx + 0x2d], al
mov byte [ebp - 4], 4
push ebx
push 0x443abc
lea ecx, [esi + 0x90]
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00407c10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x74]
call fcn.004080b0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x58]
call fcn.004080b0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x3c]
call fcn.004080b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00428145
push 0x449338
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0042a3b8
int3
Function at 0x404250
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e50b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004138b2
push 4
mov dword [ebp - 4], 0
call fcn.00427fec
mov edi, eax
add esp, 4
test edi, edi
je 0x4042cc
call fcn.00413b65
mov dword [edi], eax
call fcn.00413a1f
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00413954
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4042c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0041397c
jmp 0x4042ce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x44e3ec
call fcn.00413567
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4077d4
test esi, esi
jne 0x4077d4
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x4077b8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4077b2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4077b2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x4077a1
cmp esi, eax
jae 0x4077a5
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407793
cmp esi, eax
jb 0x4077a9
xor eax, eax
jmp 0x4077b2
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x4077dd
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x44e3ec
call fcn.00413567
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x407745
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4078c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4078d8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40790a
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x407906
cmp esi, eax
jae 0x40790a
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4078f8
cmp esi, eax
jb 0x407910
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x408f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push esi
push edi
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ebp + 8]
push ecx
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x408f97
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x408fba
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.0042a4c0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x409018
lea ecx, [ebp + 8]
push ecx
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov edx, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
jmp 0x40901a
xor esi, esi
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409050
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f448
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x445cf0
mov esi, eax
push 0xa7
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40919e
push 0xa7
lea edi, [ebp - 0x1c]
call fcn.00402860
add esp, 4
lea ecx, [ebp - 0x18]
push 0x445394
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00401fc0
push eax
lea edx, [ebp - 0x14]
push edx
mov ebx, 0x445384
mov byte [ebp - 4], 1
call fcn.00409a70
push eax
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x445cf0
mov byte [ebp - 4], 2
call fcn.00409a70
mov eax, dword [eax]
add esp, 0x18
push 0
push 0x44537c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40911e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409141
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409164
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40918a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push esi
push 0
push 4
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
mov ebx, eax
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0x1c]
push esi
push edx
push eax
mov dword [ebp - 0x18], eax
call fcn.0042a4c0
mov eax, dword [ebp - 0x18]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409e80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e775
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.TrImage.0
push 0x18
mov dword [esi + 0x48], edi
call fcn.00427fec
add esp, 4
cmp eax, edi
je 0x409f2b
mov dword [esi + 0x44], eax
mov dword [eax], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x44]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x44]
mov byte [ecx + 0x14], 1
mov edx, dword [esi + 0x44]
mov byte [edx + 0x15], 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], edi
call fcn.00428145
push 0x449338
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], vtable.std::bad_alloc.0
call fcn.0042a3b8
int3
Function at 0x40b5c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f860
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x44cb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 7
xor ebx, ebx
push str.iPlayer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407c10
lea edx, [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040d6d0
mov esi, eax
cmp dword [esi + 0x24], ebx
je 0x40b638
cmp dword [ebp - 0x18], 0x10
jb 0x40b62e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00427fd2
add esp, 4
mov eax, 1
jmp 0x40b7a4
mov eax, 1
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], 2
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
cmp eax, ebx
jne 0x40b660
xor eax, eax
jmp 0x40b677
mov ecx, dword [eax + 0x1c]
push 0x40
push 0x3000
push 0x1000
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
mov dword [esi + 0xc], eax
push 0x68
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.89_05_00_04_C5_0C_83_3D_00_02_C5_0C_01_75_0C_D9_80_54_09_00_00_D9_98_58_09_00_00_F3_0F_10_90_38_01_00_00
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x17
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.F3_0F_10_90_38_01_00_00
mov byte [ecx], bl
call fcn.00407c10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov byte [ebp - 4], 2
push 0x2f
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.F3_0F_10_90_38_01_00_00_F3_0F_10_98_3C_01_00_00
mov byte [ecx], bl
call fcn.00407c10
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004019f0
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esi + 0x74]
mov edx, 0xcc50000
call fcn.00401c20
push 1
push 0x445524
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407c10
mov byte [ebp - 4], 3
mov esi, dword [esi + 0xc]
lea edx, [ebp - 0x48]
mov ecx, edi
add esi, 0x200
call fcn.0040d6d0
mov dword [eax + 8], esi
mov esi, 1
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x34], esi
mov dword [eax + 0x2c], ebx
mov dword [eax], 2
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0x10
jb 0x40b75f
mov edx, dword [ebp - 0x48]
push edx
call fcn.00427fd2
add esp, 4
push ebx
push ebx
push ebx
push ebx
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004080b0
mov ecx, esi
mov edx, edi
call fcn.0040c5b0
cmp dword [ebp - 0x18], 0x10
mov esi, eax
jb 0x40b7a2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427fd2
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427fdd
mov esp, ebp
pop ebp
ret
Function at 0x40db00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec0f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x44cb90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], edx
push ebx
lea eax, [edi + 0x3c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004080b0
push 0xffffffffffffffff
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
push ebx
lea edx, [edi + 0x58]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.004080b0
push 0xffffffffffffffff
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 1
push ebx
lea eax, [edi + 0x74]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov byte [ecx], bl
call fcn.004080b0
push 0xffffffffffffffff
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 2
push ebx
lea edx, [edi + 0x90]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.004080b0
add edi, 0xac
push edi
lea eax, [esi + 0xac]
push eax
mov byte [ebp - 4], 3
call fcn.0040dfe0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40fcc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esi], eax
xor eax, eax
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 4], 0
je 0x40fd17
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x24]
mov dword [esi + 4], edx
mov esp, ebp
pop ebp
ret