Function at 0x456580
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x493cd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x584
mov eax, dword [0x4b538c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x59c], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x50]
push 8
push eax
mov byte [esp + 0x5b0], 6
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x5a4]
mov dword [esp + 0x59c], 7
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x456870
mov esi, ebp
mov ebp, dword [ebp]
add esi, 8
lea ecx, [esp + 0x18]
push esi
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x1c]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x20]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x28]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x28]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x2c]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00482375
lea edx, [esi + 0x1c]
lea ebx, [esi + 0x2c]
lea edi, [esp + 0x48]
mov dword [esp + 0x10], 5
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x3c], eax
mov eax, esi
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x18]
sub eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], eax
push ebx
lea ecx, [edi - 4]
call fcn.00482375
mov eax, dword [esp + 0x14]
mov ecx, edi
add eax, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x10]
add ebx, 8
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x4566b2
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0x70]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0x70]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0x74]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0x78], ecx
mov ecx, 0x146
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x78], 7
je 0x45672a
test ebp, ebp
jne 0x456619
jmp 0x456870
mov edx, dword [esp + 0x5a4]
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x456870
mov esi, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [ebx]
add esi, 8
push esi
lea ecx, [esp + 0x1c]
call fcn.00482375
lea eax, [esi + 4]
lea ecx, [esp + 0x1c]
push eax
call fcn.00482375
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.00482375
lea edx, [esi + 0xc]
lea ecx, [esp + 0x24]
push edx
call fcn.00482375
lea eax, [esi + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.00482375
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x30]
call fcn.00482375
lea edx, [esi + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00482375
lea eax, [esi + 0x1c]
mov ebp, esi
lea edi, [esp + 0x44]
mov dword [esp + 0x10], 5
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x18]
mov dword [esp + 0x40], edx
sub ebp, eax
lea ecx, [edi + ebp]
push ecx
mov ecx, edi
call fcn.00404700
mov eax, dword [esp + 0x10]
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x4567d1
lea edx, [esi + 0x54]
lea ecx, [esp + 0x6c]
push edx
call fcn.00482375
lea eax, [esi + 0x58]
lea ecx, [esp + 0x70]
push eax
call fcn.00482375
lea ecx, [esi + 0x5c]
push ecx
lea ecx, [esp + 0x78]
call fcn.00482375
mov edx, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0x7c]
mov dword [esp + 0x78], edx
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x78], 9
jne 0x456868
sub esp, 0x57c
lea eax, [esp + 0x594]
mov ecx, esp
mov dword [esp + 0x58c], esp
push eax
mov dword [esp + 0x5f8], 8
call fcn.00404730
mov ecx, dword [esp + 0x590]
push ecx
mov ecx, dword [esp + 0xb24]
call fcn.0040c8e0
test ebx, ebx
jne 0x45673c
lea ecx, [esp + 0x18]
mov dword [esp + 0x59c], 0xffffffff
call fcn.004036a0
mov ecx, dword [esp + 0x594]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x590
ret 4