Function at 0x413d5e
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x482c00
call fcn.004801f0
sub esp, 0x20
mov eax, dword [0x4b5ddc]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov esi, ecx
mov edi, 0x1fa
je 0x413d8f
imul eax, eax, 0x1fa
push 0x60
xor edx, edx
pop ecx
div ecx
mov edi, eax
mov dword [esi + 0x414], edi
mov ecx, dword [0x4b5dd8]
cmp ecx, ebx
mov eax, 0xfa
je 0x413db3
mov eax, ecx
push 0x60
imul eax, eax, 0xfa
xor edx, edx
pop ecx
div ecx
mov ecx, dword [esi + 0x420]
mov dword [esi + 0x418], eax
add ecx, eax
mov eax, dword [esi + 0x41c]
push 2
add eax, edi
push ecx
push eax
push ebx
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, esi
call fcn.00413849
mov ecx, dword [0x4b5dd8]
push 0xe
cmp ecx, ebx
pop eax
je 0x413df9
mov eax, ecx
push 0x60
imul eax, eax, 0xe
xor edx, edx
pop ecx
div ecx
push 0x4a86ec
push 2
push ebx
push ebx
push 8
push 1
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push eax
call edi
mov dword [esi + 0x26c], eax
mov ecx, dword [0x4b5dd8]
push 0xe
cmp ecx, ebx
pop eax
je 0x413e39
mov eax, ecx
push 0x60
imul eax, eax, 0xe
xor edx, edx
pop ecx
div ecx
push 0x4a86ec
push 2
push ebx
push ebx
push 8
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push eax
call edi
mov dword [esi + 0x270], eax
mov ecx, dword [0x4b5dd8]
push 0xe
cmp ecx, ebx
pop eax
je 0x413e73
mov eax, ecx
push 0x60
imul eax, eax, 0xe
xor edx, edx
pop ecx
div ecx
push 0x4a86ec
push 2
push ebx
push ebx
push 8
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push eax
call edi
push 1
mov ecx, esi
mov dword [esi + 0x274], eax
call fcn.004184df
push 0x12
push 0x64
push 0x34
lea ecx, [esi + 0x6c]
push 0x22
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x84]
push 0x12
push 0x64
push 0x61
push 0x22
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x78]
push 0x12
push 0xa4
push 0x8e
push 0x22
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
mov edi, 0xb0
lea ecx, [esi + 0x30]
push 0x19
push 0x6e
push edi
push 0xa
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x3c]
push 0x19
push 0x6e
push edi
push 0x7e
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x24]
push 0x12
push 0x96
push 0x4a
push 0x11b
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
add edi, 0x68
lea ecx, [esi + 0x18]
push 0x64
push 0xd2
push 0x66
push edi
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x60]
push 0x14
push 0xd2
push 0x82
push edi
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x54]
push 0x19
push 0xd2
push 0xb0
push edi
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [esi + 0x48]
mov dword [ebp - 0x14], ecx
push 0x16
push 0x1e6
push 0xe2
push 0xa
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea edi, [esi + 0x90]
mov ecx, edi
push 0x18
push 0x26
push 0x45
push 0x1c4
call fcn.0042e949
push eax
call fcn.0041415f
add esp, 0x14
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push 0x14
push 0x22
call fcn.0040b0b8
or byte [ebp - 0x10], 0xff
or byte [ebp - 0xf], 0xff
or byte [ebp - 0xe], 0xff
or byte [ebp - 0xd], 0xff
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.0040cd76
push 0x4a2f58
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
call fcn.0040b197
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.004141df
cmp dword [ebp - 0x2c], ebx
mov byte [ebp - 4], bl
je 0x414041
push dword [ebp - 0x2c]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
mov eax, dword [0x4b5dd8]
mov dword [ebp - 0x10], 0x18
cmp eax, ebx
je 0x414061
lea eax, [eax + eax*2]
push 0x60
shl eax, 3
xor edx, edx
pop ecx
div ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4b5ddc]
push 0x26
cmp ecx, ebx
pop eax
je 0x41407a
mov eax, ecx
push 0x60
imul eax, eax, 0x26
xor edx, edx
pop ecx
div ecx
mov ecx, dword [ebp - 0x10]
add eax, 0xfffffffc
add ecx, 0xfffffffc
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ccf9
lea ecx, [ebp - 0x20]
call fcn.0040b2f5
push ebx
push 1
push eax
push eax
mov ecx, edi
call fcn.0042e87c
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x4140b4
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor edi, edi
lea ecx, [esi + 0x6c]
inc edi
push edi
push dword [esi + 0x270]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x84]
push dword [esi + 0x270]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x78]
push dword [esi + 0x26c]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x24]
push dword [esi + 0x270]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x18]
push dword [esi + 0x26c]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x54]
push dword [esi + 0x270]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x30]
push dword [esi + 0x26c]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x3c]
push dword [esi + 0x26c]
call fcn.0042e9d4
push edi
lea ecx, [esi + 0x60]
push dword [esi + 0x26c]
call fcn.0042e9d4
mov ecx, dword [ebp - 0x14]
push edi
push dword [esi + 0x26c]
call fcn.0042e9d4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret