joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x459838
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0040f4a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 0x14], ecx
mov dword [esi], 0x45e3b4
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov ecx, dword [0x47c158]
mov edx, dword [ecx + 0x834]
mov ecx, dword [edx + 0x68]
add ecx, 0x8a8
mov dword [esp + 0x14], edi
call fcn.00429b10
shl eax, 1
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
push edi
fadd qword [esp + 0x38]
fld qword [esp + 0x30]
fcos
fmul st(1)
fstp qword [esi + 0x98]
fld qword [esp + 0x30]
fsin
fmul st(1)
fstp qword [esi + 0xa0]
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x87c]
fstp st(0)
call fcn.0042cda0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x40f8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0040b640
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00406c40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40f932
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4130e0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4599a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov eax, dword [0x47c170]
mov eax, dword [eax + 0x14]
test eax, eax
mov dword [esp + 0x1c], 0
je 0x413138
mov cl, byte [eax + 8]
test cl, cl
je 0x413138
call fcn.004564cc
mov eax, dword [eax + 4]
mov ecx, dword [0x47c170]
mov eax, dword [eax + 0x1c]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [edx + 4]
mov edx, dword [ecx]
push 8
push eax
push ecx
call dword [edx + 0x50]
call fcn.0044baca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.0040f840
mov esi, dword [esp + 8]
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x45e1f8
call fcn.00402330
mov eax, dword [0x47c170]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0042d5b0
add esp, 0x10
mov ecx, dword [eax]
push ecx
push str.ErrorManager::error
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._s__:__s
mov byte [esp + 0x2c], 2
call fcn.00402330
mov edx, dword [0x47c170]
mov eax, dword [edx + 4]
push eax
call fcn.0041fdb0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4131df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x47c170]
mov cl, byte [eax + 8]
test cl, cl
mov edi, dword [sym.imp.user32.dll_MessageBoxA]
je 0x413211
call fcn.004564cc
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x1c]
push 0x10030
push str.Error
push str.An_error_has_occurred__detailed_error_information_follows_._Please_check_the_documentation_for_getting_help_with_this_error.
push edx
call edi
call fcn.004564cc
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push 0x10010
push str.Error
push esi
push ecx
call edi
push str.Forced_exit.
push str.ErrorManager::error
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._s__:__s
call fcn.00402330
mov edx, dword [0x47c170]
mov eax, dword [edx + 4]
push eax
call fcn.0041fdb0
mov ecx, dword [0x47c170]
mov ecx, dword [ecx + 4]
add esp, 0x10
call fcn.0041fec0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_ExitProcess]
Function at 0x413b90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x459a5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x47b258]
xor eax, dword [esp + 0x118]
push ebx
push esi
mov esi, ecx
push edi
push 0x45d66d
lea ecx, [esi + 4]
mov dword [esp + 0x118], eax
mov dword [esp + 0x14], esi
mov dword [esi], fcn.004137a0
call fcn.00402330
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 0x120], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
call fcn.004375f0
push str.Starting...
push str.FileManager::FileManager
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov byte [esp + 0x130], 1
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
call fcn.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fdb0
add esp, 0x10
mov ecx, esi
mov byte [esi + 0x2c], bl
call fcn.004137a0
push str.._ChickenInvaders2.cfg
push 0x100
lea edx, [esp + 0x1c]
push edx
push 0x45d66d
mov edi, eax
mov eax, dword [edi]
push str.bWadInMemory
push eax
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jle 0x413c6e
cmp byte [esp + 0x14], 0x59
sete cl
mov byte [esi + 0x2c], cl
cmp byte [esi + 0x2c], bl
mov eax, 0x468f44
jne 0x413c7d
mov eax, 0x468f40
mov edx, dword [edi]
push str.._ChickenInvaders2.cfg
push eax
push str.bWadInMemory
push edx
call dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
push str.Started.
push str.FileManager::FileManager
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
call fcn.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fdb0
mov ecx, dword [esp + 0x128]
add esp, 0x10
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
xor ecx, dword [esp + 0x120]
mov eax, esi
pop esi
pop ebx
add esp, 0x118
jmp fcn.0043ec3e
Function at 0x41fec0
Capabilities:
Copy file

Disassembly:
push ecx
push esi
lea esi, [ecx + 4]
push esi
lea eax, [esp + 8]
push str.crash.
push eax
call fcn.0041fce0
mov ecx, dword [eax]
mov edx, dword [esi]
add esp, 0xc
push 0
push ecx
push edx
call dword [sym.imp.kernel32.dll_CopyFileA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x41ff05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ecx
ret
Function at 0x4233e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45afc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x30], 1
call fcn.0042a6e0
mov edi, dword [esp + 0x38]
add edi, 0xfffffff0
push edi
mov byte [esp + 0x20], 2
mov dword [esi], 0x46b9a8
mov dword [esi + 0x98], ebx
mov byte [esi + 0x9c], bl
mov byte [esi + 0x9d], bl
call fcn.00406c40
add eax, 0x10
mov dword [esi + 0xa0], eax
mov ebp, dword [esp + 0x40]
add ebp, 0xfffffff0
push ebp
mov byte [esp + 0x24], 3
call fcn.00406c40
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi + 0xa4], eax
add esp, 8
mov dword [esi + 0xa8], 0xc8
mov dword [esi + 0xac], 0x19
mov byte [esi + 0xb0], bl
mov dword [esi + 0x98], ecx
mov byte [esp + 0x1c], bl
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4234b6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x1c], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4234d6
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x4279e6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b4c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0042e7f0
mov eax, dword [esp + 0x1c]
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi], 0x46bc10
mov dword [esi + 0x10], eax
call fcn.004375f0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], 0x14
mov dword [esi + 0x40], 0x96
mov byte [esi + 0x44], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4281b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45b51c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x30], 1
call fcn.0042a6e0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add ebp, 0xfffffff0
push ebp
mov byte [esp + 0x20], 2
mov dword [esi], 0x46bc18
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov dword [esi + 0xa0], 0x64
call fcn.00406c40
add eax, 0x10
mov dword [esi + 0xa4], eax
mov ebx, dword [esp + 0x30]
add ebx, 0xfffffff0
push ebx
mov byte [esp + 0x24], 3
lea edi, [esi + 0xa8]
call fcn.00406c40
add eax, 0x10
add esp, 8
mov dword [edi], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x9c]
mov dword [esi + 0xac], edx
mov ecx, dword [0x47c158]
mov ecx, dword [ecx + 0x838]
push eax
mov byte [esp + 0x20], 4
call fcn.0042cda0
mov edx, dword [esi + 0xac]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x98]
mov byte [esi + 0x25], 1
mov ecx, dword [0x47c158]
push edx
mov edx, dword [ecx + 0x834]
mov ecx, dword [edx + eax*4 + 0x68]
call fcn.004272b0
mov eax, dword [edi]
push 0x45d66d
push eax
call fcn.0043ef8d
add esp, 8
test eax, eax
jne 0x4282f2
mov eax, dword [esi + 0xac]
test eax, eax
jle 0x4282f2
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041b040
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x20], 5
call fcn.00413b20
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x47c158]
mov ecx, dword [eax + 0x970]
push 0
call fcn.0042a5d0
mov byte [esp + 0x1c], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428321
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428340
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x428670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00428ae0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x2f8], eax
imul eax, eax, 0xd5
xor ebx, ebx
add eax, 0xd6
push 0x4072c000
mov dword [esp + 0x24], eax
push ebx
sub esp, 8
fild dword [esp + 0x30]
lea edi, [esi + 0x140]
mov ecx, esi
mov dword [esp + 0x28], ebx
fstp qword [esp]
mov dword [esi], 0x46bc5c
mov dword [esi + 0x98], 0x46bc48
mov dword [edi], 0x46bc3c
mov byte [esi + 0x2ec], bl
mov byte [esi + 0x244], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], 0x401c0000
call fcn.0040f440
push ebx
push ebx
push ebx
push 1
mov ecx, edi
call fcn.0042b1f0
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x434aa0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
push esi
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 8]
test eax, eax
push edi
mov esi, ecx
je 0x434b31
cmp eax, 0x100
jge 0x434b31
push 1
push eax
call dword [sym.imp.user32.dll_MapVirtualKeyA]
mov edx, eax
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov cl, byte [esi + 0x31]
mov al, 0x80
test al, cl
jne 0x434af3
test byte [esi + 0x3d], al
je 0x434af8
mov byte [esp + 0x20], 0xff
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
call dword [sym.imp.user32.dll_ToAscii]
mov ecx, dword [esp + 0xc]
test eax, eax
setle al
dec al
and eax, ecx
mov ecx, dword [esp + 0x114]
xor ecx, dword [ebp + 4]
call fcn.0043ec3e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x114]
xor ecx, dword [ebp + 4]
xor al, al
call fcn.0043ec3e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x440247
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x471228
call fcn.00440ca0
mov edi, 0x94
mov eax, edi
call fcn.0043f130
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x47e138], ecx
mov eax, dword [esi + 4]
mov dword [0x47e144], eax
mov edx, dword [esi + 8]
mov dword [0x47e148], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x47e13c], esi
cmp ecx, 2
je 0x4402a7
or esi, 0x8000
mov dword [0x47e13c], esi
shl eax, 8
add eax, edx
mov dword [0x47e140], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4402e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4402e2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4402fa
cmp eax, 0x20b
je 0x4402e7
mov dword [ebp - 0x1c], esi
jmp 0x44030e
cmp dword [ecx + 0x84], 0xe
jbe 0x4402e2
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x440308
cmp dword [ecx + 0x74], 0xe
jbe 0x4402e2
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00446276
pop ecx
test eax, eax
jne 0x440322
push 0x1c
call fcn.00440223
pop ecx
call fcn.00442a0f
test eax, eax
jne 0x440333
push 0x10
call fcn.00440223
pop ecx
call fcn.00447777
mov dword [ebp - 4], esi
call fcn.00447579
test eax, eax
jge 0x44034c
push 0x1b
call fcn.004401fe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x47f990], eax
call fcn.00447457
mov dword [0x47e128], eax
call fcn.004473b5
test eax, eax
jge 0x440372
push 8
call fcn.004401fe
pop ecx
call fcn.00447182
test eax, eax
jge 0x440383
push 9
call fcn.004401fe
pop ecx
call fcn.00441e3a
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x440396
push eax
call fcn.004401fe
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
call fcn.00447119
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x4403b7
movzx eax, word [ebp - 0x34]
jmp 0x4403ba
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.0044b1e8
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4403d8
push edi
call fcn.00441f72
call fcn.00441f94
jmp 0x44040a
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00440cdb
ret
Function at 0x441d6d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x441d8a
call fcn.00441117
mov dword [eax], 0x16
xor eax, eax
jmp 0x441df4
push esi
push 0x88
push 1
call fcn.00442747
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x441ddf
push esi
call fcn.00442820
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x441dbd
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x441cc9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x441df3
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0044009b
test ebx, ebx
pop ecx
je 0x441df1
push ebx
call fcn.00441129
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x441e9f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.00443fb6
xor esi, esi
inc esi
cmp dword [0x47e178], esi
pop ecx
jne 0x441ec7
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x47e174], esi
mov byte [0x47e170], al
jne 0x441f2d
mov ecx, dword [0x47f988]
test ecx, ecx
je 0x441f0e
mov eax, dword [0x47f984]
sub eax, 4
cmp eax, ecx
jmp 0x441f07
mov eax, dword [eax]
test eax, eax
je 0x441ef9
call eax
mov eax, dword [0x47f984]
sub eax, 4
cmp eax, dword [0x47f988]
mov dword [0x47f984], eax
jae 0x441ef1
mov eax, 0x47a078
mov esi, 0x47a080
cmp eax, esi
mov edi, eax
jae 0x441f2d
mov eax, dword [edi]
test eax, eax
je 0x441f26
call eax
add edi, 4
cmp edi, esi
jb 0x441f1e
mov eax, 0x47a084
mov esi, 0x47a08c
cmp eax, esi
mov edi, eax
jae 0x441f4c
mov eax, dword [edi]
test eax, eax
je 0x441f45
call eax
add edi, 4
cmp edi, esi
jb 0x441f3d
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x441f5d
push 8
call fcn.00443f22
jmp 0x441f6f
push dword [ebp + 8]
mov dword [0x47e178], 1
call fcn.00441df8
pop ecx
pop ebp
ret
Function at 0x44507e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0043f130
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x445113
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x47e138]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x445113
cmp eax, 1
je 0x44512b
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x445113
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4450e8
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x44510f
xor eax, eax
inc eax
jmp 0x445147
cmp esi, ebx
jae 0x445117
xor eax, eax
jmp 0x445147
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov eax, dword [0x47e138]
jmp 0x44512d
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446e05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x47b258]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x47b978]
je 0x446e32
inc eax
cmp eax, 0x12
jb 0x446e23
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x47b978]
jne 0x446f66
mov eax, dword [0x47e130]
cmp eax, 1
je 0x446f41
cmp eax, edx
jne 0x446e62
cmp dword [0x47b348], 1
je 0x446f41
cmp ecx, 0xfc
je 0x446f66
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x446e9b
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00444930
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00440760
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x446edd
lea eax, [ebp - 0x10c]
push eax
call fcn.00440760
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x47146c
push edi
call fcn.00449130
add esp, 0x10
push edi
call fcn.00440760
push dword [esi + 0x47b97c]
mov ebx, eax
call fcn.00440760
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0043f130
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00444930
push edi
push ebx
call fcn.00444940
push 0x471468
push ebx
call fcn.00444940
push dword [esi + 0x47b97c]
push ebx
call fcn.00444940
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00449029
add esp, 0x2c
jmp 0x446f66
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x47b97c]
push dword [esi]
call fcn.00440760
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]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0043ec3e
pop edi
pop esi
pop ebx
leave
ret