Function at 0x40c000
Capabilities:
Get number of processors
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49556b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x474
mov eax, dword [0x4a4194]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x480], ecx
mov ecx, dword [ebp - 0x480]
call fcn.0040c7e0
mov eax, dword [ebp - 0x480]
mov dword [eax + 4], 0
mov ecx, dword [0x4bd4bc]
mov dword [ebp - 0x4c], ecx
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0x9c], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xa0], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xa4], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xa8], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xac], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xb0], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xb4], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xb8], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xbc], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xcc], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xd0], eax
push 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xc0], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xc8], eax
push 0
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xc4], eax
push str.p_message
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, 0x4bd4a0
call fcn.00408310
push str.p_message_log
mov ecx, dword [ebp - 0x480]
mov edx, dword [ecx + 0xb8]
push edx
mov ecx, 0x4bd4a0
call fcn.00408310
push str.p_as_icon
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xcc]
push ecx
mov ecx, 0x4bd4a0
call fcn.00408310
push 0x40
push 0x60
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0x480]
mov ecx, dword [ecx + 0xd0]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x74]
sub edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x70]
sub edx, dword [ecx + 0x68]
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xb0]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xb0]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x74]
sub edx, dword [ecx + 0x6c]
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x70]
sub edx, dword [ecx + 0x68]
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xb4]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xb4]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
push 0x258
push 0x320
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xbc]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x84]
sub edx, dword [ecx + 0x7c]
imul edx, edx, 3
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x480]
mov edx, dword [eax + 0x80]
sub edx, dword [ecx + 0x78]
add edx, 0x64
push edx
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xc0]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc0]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
push 0
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xa64]
push ecx
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc0]
mov ecx, dword [ebp - 0x480]
mov ecx, dword [ecx + 0xc0]
mov edx, dword [eax]
call dword [edx + 0x30]
push 0x64
push 0x64
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc8]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc8]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x30]
push 0x64
push 0x64
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xc4]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc4]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
push 0
push 0xff444444
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0xc4]
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0xc4]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x30]
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0x46c]
mov dword [eax + 0x3c4], ecx
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c4], 0
jne 0x40c43a
push 0x30
mov ecx, 0x4bd504
mov eax, dword [0x4bd504]
call dword [eax + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov ecx, dword [ebp - 0x480]
mov edx, dword [ecx + 0x3c4]
push edx
call fcn.00468010
add esp, 0xc
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0x3c4]
mov dword [ecx + 0xc8], 0
push 0x34
call fcn.00468207
add esp, 4
mov dword [ebp - 0x470], eax
mov edx, dword [ebp - 0x480]
mov eax, dword [ebp - 0x470]
mov dword [edx + 0x3c8], eax
mov ecx, dword [ebp - 0x480]
cmp dword [ecx + 0x3c8], 0
jne 0x40c4c2
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0x34
push 0
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0x3c8]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp - 0x480]
mov eax, dword [edx + 0x3c8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0x3cc], 0
mov edx, dword [ebp - 0x480]
mov byte [edx + 0x3f0], 0
mov dword [0x4aadc8], 0
push 0
call dword [0x49719c]
mov dword [ebp - 0x50], eax
push 0
push 0x40bbb0
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [0x49703c]
mov ecx, dword [ebp - 0x50]
push ecx
push 0
call dword [0x497198]
push 0
mov ecx, 0x4bd514
mov edx, dword [0x4bd514]
call dword [edx + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00452bf0
mov dword [ebp - 4], 0
push str.fonttype.txt
lea ecx, [ebp - 0x1c]
call fcn.00452ad0
lea ecx, [ebp - 0x48]
call fcn.00457400
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp - 0x474]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00457ee0
test eax, eax
jne 0x40c76f
mov byte [ebp - 0x5d], 0
push 0x497590
lea edx, [ebp - 0x444]
push edx
call dword [0x49712c]
push 0x3e8
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x48]
call fcn.00457ff0
lea ecx, [ebp - 0x444]
push ecx
call dword [0x497128]
test eax, eax
je 0x40c643
mov dword [ebp - 0x448], 0
jmp 0x40c5ee
mov edx, dword [ebp - 0x448]
add edx, 1
mov dword [ebp - 0x448], edx
mov eax, dword [ebp - 0x448]
cmp eax, dword [0x4aadc8]
jge 0x40c643
mov ecx, dword [ebp - 0x448]
shl ecx, 4
mov edx, dword [ecx + 0x4aadd4]
mov dword [ebp - 0x478], edx
lea eax, [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x478]
push ecx
call dword [0x497134]
test eax, eax
jne 0x40c641
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0x480]
add ecx, 0x410
call fcn.00452a30
jmp 0x40c5df
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x48]
call fcn.00457450
mov byte [ebp - 0x51], al
movzx ecx, byte [ebp - 0x51]
cmp ecx, 1
jne 0x40c668
mov dword [0x4bd568], 1
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x48]
call fcn.00457450
mov byte [ebp - 0x51], al
movzx eax, byte [ebp - 0x51]
test eax, eax
jne 0x40c6a1
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0x50], 0x14
mov edx, dword [ebp - 0x480]
mov dword [edx + 0x3e8], 0x14
jmp 0x40c6c3
movzx eax, byte [ebp - 0x51]
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x480]
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x3e8], ecx
lea edx, [ebp - 0x444]
push edx
lea ecx, [ebp - 0x48]
call fcn.00457450
mov byte [ebp - 0x51], al
movzx eax, byte [ebp - 0x51]
cmp eax, 1
jne 0x40c76f
lea ecx, [ebp - 0x464]
call fcn.00457bc0
mov byte [ebp - 4], 2
push str.fontlist.log
call dword [0x4970e4]
push str.fontlist.log
lea ecx, [ebp - 0x464]
call fcn.00458c90
mov dword [ebp - 0x468], 0
jmp 0x40c727
mov ecx, dword [ebp - 0x468]
add ecx, 1
mov dword [ebp - 0x468], ecx
mov edx, dword [ebp - 0x468]
cmp edx, dword [0x4aadc8]
jge 0x40c760
mov eax, dword [ebp - 0x468]
shl eax, 4
mov ecx, dword [eax + 0x4aadd4]
mov dword [ebp - 0x47c], ecx
push 1
mov edx, dword [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x464]
call fcn.00457c50
jmp 0x40c718
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x464]
call fcn.00457be0
mov ecx, dword [ebp - 0x480]
call fcn.0040c980
mov eax, dword [ebp - 0x480]
mov dword [eax + 0xa6c], 0xffffff
mov ecx, dword [ebp - 0x480]
mov dword [ecx + 0xa68], 0x444444
mov edx, dword [ebp - 0x480]
mov dword [edx + 0xe0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00457440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004526f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x58]
xor ecx, dword [ebp + 4]
call fcn.00467ff6
mov esp, ebp
pop ebp
ret