joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4450a0
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, ecx
push ebp
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x4450ef
lea eax, [ecx - 4]
test ecx, ecx
je 0x4450bc
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea ecx, [eax - 4]
cmp edx, ecx
je 0x4450d9
mov edi, dword [ecx - 4]
sub eax, 4
sub ecx, 4
mov dword [eax], edi
cmp edx, ecx
jne 0x4450ca
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov ecx, dword [eax]
mov dword [edx], ecx
add dword [esi + 4], 4
pop esi
pop ebx
add esp, 4
ret 8
sub ecx, dword [esi]
test ecx, 0xfffffffc
je 0x445104
sar ecx, 2
add ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x44510c
mov dword [esp + 0x10], 0x400
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x14]
add esp, 4
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x445155
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov ecx, edi
mov ebx, dword [esi]
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x445178
mov ebp, ebx
mov eax, ecx
add ebx, 4
add ecx, 4
test eax, eax
je 0x445174
mov ebp, dword [ebp]
mov dword [eax], ebp
cmp edx, ebx
jne 0x445161
mov eax, edx
sub eax, dword [esi]
and eax, 0xfffffffc
lea ecx, [eax + edi]
test ecx, ecx
je 0x44518e
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov dword [ecx], ebx
mov eax, edx
mov ebp, dword [esi + 4]
sub eax, dword [esi]
and eax, 0xfffffffc
cmp edx, ebp
lea ecx, [eax + edi + 4]
je 0x4451b6
mov ebx, edx
mov eax, ecx
add edx, 4
add ecx, 4
test eax, eax
je 0x4451b2
mov ebx, dword [ebx]
mov dword [eax], ebx
cmp edx, ebp
jne 0x4451a0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edx, ecx
cmp edx, eax
je 0x4451c6
add edx, 4
jmp 0x4451bd
push ecx
call sub.MFC40.DLL_operator_delete
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [edi + eax*4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [esi + 8], ecx
sar eax, 2
pop ebp
mov dword [esi], edi
lea eax, [edi + eax*4]
add eax, 4
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x4476d0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x10]
add esp, 4
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x44771b
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x447ed0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447fdb
push eax
mov dword fs:[0], esp
sub esp, 0x20c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x14], ecx
push ebx
push esi
push edi
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x447fcb
lea ecx, [ebp - 0x10]
xor ebx, ebx
lea esi, [ebp - 0x218]
call sub.MFC40.DLL_CString::CString_3
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x218], bl
je 0x447f75
mov eax, dword [ebp - 0x14]
add eax, 0x1c0
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov edi, dword [ecx + 0xbc]
xor ecx, ecx
cmp byte [esi], bl
je 0x447f51
mov al, byte [esi]
inc ecx
inc esi
mov byte [ebp + ecx - 0x119], al
cmp byte [esi], bl
jne 0x447f42
inc esi
lea eax, [ebp - 0x118]
push eax
mov byte [ebp + ecx - 0x119], bl
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::operator_1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push eax
call edi
cmp byte [esi], bl
jne 0x447f3c
push 0xff
lea eax, [ebp - 0x218]
push eax
call fcn.004c9bb0
add esp, 8
mov al, byte [ebp - 0x218]
mov cl, byte [ebp - 0x217]
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x118]
mov byte [ebp - 0x117], cl
push eax
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
add ecx, 0x180
mov byte [ebp - 0x116], 0
call fcn.004b4bd0
mov dword [ebp - 4], 0xffffffff
call fcn.00447fe5
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447ff0
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, ecx
push ebp
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x44803f
lea eax, [ecx - 4]
test ecx, ecx
je 0x44800c
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax - 4]
cmp ecx, edx
je 0x448029
mov edi, dword [edx - 4]
sub eax, 4
sub edx, 4
mov dword [eax], edi
cmp ecx, edx
jne 0x44801a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov edx, dword [eax]
mov dword [ecx], edx
add dword [esi + 4], 4
pop esi
pop ebx
add esp, 4
ret 8
sub ecx, dword [esi]
test ecx, 0xfffffffc
je 0x448054
sar ecx, 2
add ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x44805c
mov dword [esp + 0x10], 0x400
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x14]
add esp, 4
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x4480a5
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, edi
mov edx, dword [esi]
mov ecx, dword [esp + 0x18]
cmp ecx, edx
je 0x4480c8
mov ebp, edx
mov ebx, eax
add edx, 4
add eax, 4
test ebx, ebx
je 0x4480c4
mov ebp, dword [ebp]
mov dword [ebx], ebp
cmp ecx, edx
jne 0x4480b1
mov eax, ecx
sub eax, dword [esi]
and eax, 0xfffffffc
lea edx, [eax + edi]
test edx, edx
je 0x4480de
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov dword [edx], ebx
mov eax, ecx
mov ebx, dword [esi + 4]
sub eax, dword [esi]
and eax, 0xfffffffc
cmp ebx, ecx
lea edx, [eax + edi + 4]
je 0x448107
mov eax, ecx
mov ebp, edx
add ecx, 4
add edx, 4
test ebp, ebp
je 0x448103
mov eax, dword [eax]
mov dword [ebp], eax
cmp ebx, ecx
jne 0x4480f0
mov eax, dword [esi]
push eax
call sub.MFC40.DLL_operator_delete
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [edi + eax*4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [esi + 8], ecx
sar eax, 2
pop ebp
mov dword [esi], edi
lea eax, [edi + eax*4]
add eax, 4
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x44a560
Capabilities:
Terminate process

Disassembly:
sub esp, 8
mov eax, dword [0x4fc4b8]
test eax, eax
push ebx
push esi
push edi
push ebp
je 0x44a581
mov edx, dword [eax + 0xc]
pop ebp
pop edi
mov dword [0x4fc4b8], edx
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x4fc4b4]
cmp dword [0x4fc4b0], eax
jne 0x44a654
push 0
mov ebp, dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
call ebp
add esp, 4
push 8
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x44a5db
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
mov ebx, dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
call ebx
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
jmp 0x44a5e1
mov ebx, dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push 0
call ebp
add esp, 4
push 0xff0
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebp, eax
test ebp, ebp
jne 0x44a61f
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call ebx
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [edi + 4], ebp
mov eax, dword [0x4fc4bc]
mov dword [edi], eax
mov dword [0x4fc4bc], edi
mov ebp, dword [edi + 4]
mov dword [0x4fc4b4], ebp
lea eax, [ebp + 0xff0]
add dword [0x4fc4b4], 0x18
mov dword [0x4fc4b0], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x4fc4b4]
pop ebp
add dword [0x4fc4b4], 0x18
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x44ad40
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x50ae80
jmp 0x401020
Function at 0x44f6e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f85c
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov esi, ecx
push eax
call fcn.00446e80
mov eax, dword [ebp + 8]
push 0
mov dword [ebp - 4], 0
mov edi, dword [eax + 0x1a4]
sub edi, dword [eax + 0x1a0]
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
sar edi, 2
add esp, 4
shl edi, 2
push edi
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x44f76a
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0x1a0], edi
mov ecx, dword [eax + 0x1a4]
mov ebx, dword [eax + 0x1a0]
mov dword [ebp - 0x10], ecx
cmp ebx, ecx
je 0x44f79f
mov eax, ebx
mov ecx, edi
add ebx, 4
add edi, 4
test ecx, ecx
je 0x44f79a
push eax
call sub.MFC40.DLL_CString::CString_2
cmp ebx, dword [ebp - 0x10]
jne 0x44f786
xor eax, eax
mov dword [esi + 0x1a4], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1ac], eax
lea edi, [esi + 0x1b8]
mov dword [esi + 0x1b0], eax
mov ecx, edi
mov dword [esi + 0x1b4], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x1b8
push eax
call fcn.0044df60
mov byte [ebp - 4], 3
sub esp, 4
mov dword [esi], vtable.CWidgetAscii.1.0
mov dword [esi + 0x40], vtable.CWidgetAscii.0
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, edi
call fcn.004190c0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0040b6a0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x453a70
Capabilities:
Terminate process

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, ecx
push ebp
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x453abf
lea eax, [ecx - 4]
test ecx, ecx
je 0x453a8c
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax - 4]
cmp edx, ecx
je 0x453aa9
mov edi, dword [edx - 4]
sub eax, 4
sub edx, 4
mov dword [eax], edi
cmp edx, ecx
jne 0x453a9a
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
mov edx, dword [eax]
mov dword [ecx], edx
add dword [esi + 4], 4
pop esi
pop ebx
add esp, 4
ret 8
sub ecx, dword [esi]
test ecx, 0xfffffffc
je 0x453ad4
sar ecx, 2
add ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x453adc
mov dword [esp + 0x10], 0x400
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x14]
add esp, 4
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x453b25
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov ebx, edi
mov ebp, dword [esi]
mov ecx, dword [esp + 0x18]
cmp ebp, ecx
je 0x453b47
mov edx, ebp
mov eax, ebx
add ebp, 4
add ebx, 4
test eax, eax
je 0x453b43
mov edx, dword [edx]
mov dword [eax], edx
cmp ebp, ecx
jne 0x453b31
mov eax, ecx
sub eax, dword [esi]
and eax, 0xfffffffc
lea edx, [eax + edi]
test edx, edx
je 0x453b5d
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
mov dword [edx], ebx
mov eax, ecx
mov ebx, dword [esi + 4]
sub eax, dword [esi]
and eax, 0xfffffffc
cmp ebx, ecx
lea edx, [eax + edi + 4]
je 0x453b86
mov eax, ecx
mov ebp, edx
add ecx, 4
add edx, 4
test ebp, ebp
je 0x453b82
mov eax, dword [eax]
mov dword [ebp], eax
cmp ebx, ecx
jne 0x453b6f
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, edx
cmp ecx, eax
je 0x453b96
add ecx, 4
jmp 0x453b8d
push edx
call sub.MFC40.DLL_operator_delete
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [edi + eax*4]
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov dword [esi + 8], ecx
sar eax, 2
pop ebp
mov dword [esi], edi
lea eax, [edi + eax*4]
add eax, 4
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
add esp, 4
ret 8
Function at 0x453e30
Capabilities:
Terminate process

Disassembly:
sub esp, 8
mov eax, dword [0x4fd740]
test eax, eax
push ebx
push esi
push edi
push ebp
je 0x453e51
mov edx, dword [eax + 0xc]
pop ebp
pop edi
mov dword [0x4fd740], edx
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x4fd73c]
cmp dword [0x4fd738], eax
jne 0x453f24
push 0
mov ebp, dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
call ebp
add esp, 4
push 8
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x453eab
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
mov ebx, dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
call ebx
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
jmp 0x453eb1
mov ebx, dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push 0
call ebp
add esp, 4
push 0xff0
call sub.MFC40.DLL_operator_new
add esp, 4
mov ebp, eax
test ebp, ebp
jne 0x453eef
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call ebx
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov dword [edi + 4], ebp
mov eax, dword [0x4fd744]
mov dword [edi], eax
mov dword [0x4fd744], edi
mov ebp, dword [edi + 4]
mov dword [0x4fd73c], ebp
lea eax, [ebp + 0xff0]
add dword [0x4fd73c], 0x18
mov dword [0x4fd738], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [0x4fd73c]
pop ebp
add dword [0x4fd73c], 0x18
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4551b0
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x50aef8
jmp 0x401020

Function at 0x45c7d0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x10]
add esp, 4
shl eax, 3
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x45c81b
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x45c820
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x10]
add esp, 4
shl eax, 2
lea ecx, [eax + eax*4]
push ecx
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x45c86e
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x45c890
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x50afd0
jmp 0x401020
Function at 0x46de60
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
mov eax, dword [esp + 0x10]
add esp, 4
shl eax, 3
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov edi, eax
test edi, edi
jne 0x46deab
mov esi, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call esi
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, edi
pop edi
pop esi
ret
Function at 0x488830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4888d7
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
lea edi, [ecx + 0xc]
mov esi, ecx
xor ebx, ebx
mov ecx, edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call sub.MFC40.DLL_CString::CString_3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp eax, ebx
je 0x48887f
push eax
mov ecx, edi
call sub.MFC40.DLL_CString::operator
push 2
mov eax, dword [ebp + 8]
and eax, 0xffff
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 0x10], eax
test eax, eax
je 0x4888bb
mov dword [esi + 8], 1
mov ecx, esi
call fcn.00488960
mov dword [esi + 0x14], eax
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x488960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
mov eax, dword [ecx + 0x14]
push edi
push ebp
mov esi, ecx
test eax, eax
je 0x48897e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ebx, eax
mov dword [esp + 0x18], 0
mov ecx, esi
call fcn.00488a90
mov di, ax
test di, di
je 0x488a07
movzx eax, di
lea ecx, [eax*4 + 8]
push ecx
call sub.MFC40.DLL_operator_new
add esp, 4
mov esi, eax
test esi, esi
je 0x488a84
xor dx, dx
xor eax, eax
mov word [esi], 0x300
mov word [esi + 2], di
mov ax, word [ebx]
add eax, ebx
test di, di
je 0x488a70
movzx ecx, dx
inc dx
shl ecx, 2
cmp di, dx
lea ebx, [ecx + esi]
lea ebp, [ecx + eax]
mov cl, byte [ecx + eax + 2]
mov byte [ebx + 4], cl
mov cl, byte [ebp + 1]
mov byte [ebx + 5], cl
mov cl, byte [ebp]
mov byte [ebx + 6], cl
mov byte [ebx + 7], 0
ja 0x4889db
jmp 0x488a70
cmp word [ebx + 0xe], 0x18
jne 0x488a84
xor bl, bl
push 0x408
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], bl
call sub.MFC40.DLL_operator_new
add esp, 4
mov esi, eax
test esi, esi
je 0x488a84
xor dx, dx
mov word [esi], 0x300
mov word [esi + 2], 0x100
movzx eax, dx
mov cl, byte [esp + 0x12]
mov byte [esi + eax*4 + 4], bl
mov byte [esi + eax*4 + 5], cl
lea eax, [esi + eax*4]
mov cl, byte [esp + 0x13]
add bl, 0x20
mov byte [eax + 6], cl
mov byte [eax + 7], 0
jne 0x488a67
add byte [esp + 0x12], 0x20
jne 0x488a67
add byte [esp + 0x13], 0x40
inc dx
cmp dx, 0x100
jb 0x488a39
push esi
call dword [sym.imp.GDI32.dll_CreatePalette]
mov dword [esp + 0x14], eax
push esi
call sub.MFC40.DLL_operator_delete
add esp, 4
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x488b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
test eax, eax
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, 0
je 0x488b19
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ebx, eax
mov ecx, edi
call fcn.00488a90
test ax, ax
je 0x488b48
push 0
mov eax, dword [edi + 0x14]
push eax
mov ebp, dword [sym.imp.GDI32.dll_SelectPalette]
push esi
call ebp
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
push ebx
mov ecx, edi
call fcn.00488ae0
movzx ecx, ax
xor eax, eax
xor edi, edi
mov ax, word [ebx]
add ecx, eax
mov eax, dword [esp + 0x28]
add ecx, ebx
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x488b7c
xor ebp, ebp
xor eax, eax
mov bp, word [ebx + 4]
mov dword [esp + 0x10], edi
mov ax, word [ebx + 8]
jmp 0x488b8f
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x10], ecx
sub ebp, edi
mov eax, dword [eax + 0xc]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x488baa
cmp eax, 1
je 0x488bde
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
xor eax, eax
push 0
mov ax, word [ebx + 8]
push ebx
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0
push 0
mov ecx, dword [esp + 0x28]
push 0
push eax
xor eax, eax
mov ax, word [ebx + 4]
push eax
push ecx
push edi
push esi
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
push 3
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push 0
xor eax, eax
mov ax, word [ebx + 8]
push ebx
push ecx
push eax
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov ax, word [ebx + 4]
mov edx, dword [esp + 0x24]
push eax
push 0
push 0
push ecx
push ebp
push edx
push edi
push esi
call dword [sym.imp.GDI32.dll_StretchDIBits]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc

Function at 0x48be50
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x50b128
jmp 0x401020