Function at 0x409fb0
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c5479
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x521da0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00409e50
push 0x60
call fcn.00485167
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 0
test eax, eax
je 0x40a004
mov ecx, eax
call dword [0x4ce6b0]
mov ecx, eax
jmp 0x40a006
xor ecx, ecx
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x2c]
or ebp, 0xffffffff
mov dword [esi + 0x80], ecx
cmp dword [edx + 0xc0], 0
mov dword [esp + 0x24], ebp
je 0x40a05b
mov eax, dword [edx + 0x8c]
mov edx, dword [edx + 0x90]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x4ce6b4]
mov ecx, dword [esi + 0x80]
mov eax, dword [ecx + 0x28]
mov edx, dword [esi + 4]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x10], eax
jmp 0x40a0c3
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [0x4ce6b8]
mov eax, dword [esi + 4]
mov ebp, dword [eax + 0x8c]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x74]
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x2c], ebp
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebx
push ecx
mov ecx, dword [esi + 0x80]
call dword [0x4ce6bc]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x80]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x80]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x24], ecx
or ebp, 0xffffffff
push 0xe4
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov ebx, 1
mov dword [esp + 0x24], ebx
test eax, eax
je 0x40a0eb
mov ecx, eax
call dword [0x4ce6c0]
jmp 0x40a0ed
xor eax, eax
mov ecx, dword [esi + 0x80]
push ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], ebp
call edx
mov ecx, dword [esi + 0x2c]
push 0x64
call dword [0x4ce6c4]
fld dword [0x4cf1d0]
mov eax, dword [esi + 0x2c]
sub esp, 8
fstp dword [esp + 4]
mov byte [eax + 0xb8], bl
fld dword [edi + 0x26c]
mov ecx, dword [edi + 4]
fstp dword [esp]
push 0
push ecx
mov ecx, dword [esi + 0x2c]
call dword [0x4ce6c8]
mov ecx, dword [esi + 0x2c]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov edx, dword [esi + 0x2c]
mov eax, dword [eax]
mov dword [edx + 0x80], eax
mov ecx, dword [esi + 0x2c]
push ecx
mov ecx, edi
call dword [0x4ce6d0]
push 0x60
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 2
test eax, eax
je 0x40a18b
mov ecx, eax
call dword [0x4ce6b0]
mov ecx, eax
jmp 0x40a18d
xor ecx, ecx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x84], ecx
cmp dword [edx + 0xc0], 0
mov dword [esp + 0x24], ebp
je 0x40a1db
mov eax, dword [edx + 0x8c]
mov edx, dword [edx + 0x90]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x4ce6b4]
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx + 0x28]
mov edx, dword [esi + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x10], eax
jmp 0x40a248
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [0x4ce6b8]
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x74]
mov ebp, dword [eax + 0x80]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebp
push ecx
mov ecx, dword [esi + 0x84]
call dword [0x4ce6bc]
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x84]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x84]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x24], ecx
mov ebx, 1
or ebp, 0xffffffff
push 0x60
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 3
test eax, eax
je 0x40a26e
mov ecx, eax
call dword [0x4ce6b0]
mov ecx, eax
jmp 0x40a270
xor ecx, ecx
mov edx, dword [esi + 4]
mov dword [esi + 0x78], ecx
cmp dword [edx + 0xc0], 0
mov dword [esp + 0x24], ebp
je 0x40a2b8
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x8c]
mov eax, dword [eax + 0x90]
push eax
push edx
mov edx, dword [edi + 4]
push edx
call dword [0x4ce6b4]
mov eax, dword [esi + 0x78]
mov edx, dword [eax + 0x28]
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 8]
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x10], edx
jmp 0x40a31d
mov edx, dword [esi + 8]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [0x4ce6b8]
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x74]
mov ebp, dword [eax + 0x80]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebp
push ecx
mov ecx, dword [esi + 0x78]
call dword [0x4ce6bc]
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x78]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x78]
mov ecx, dword [edx + 0x10]
or ebp, 0xffffffff
mov dword [eax + 0x24], ecx
lea ebx, [ebp + 2]
push 0xe4
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 4
test eax, eax
je 0x40a344
mov ecx, eax
call dword [0x4ce6c0]
jmp 0x40a346
xor eax, eax
mov ecx, dword [esi + 0x78]
push ecx
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [esi + 0x30]
mov byte [eax + 0xb8], bl
mov ecx, dword [esi + 0x30]
push ebx
call dword [0x4ce6c4]
fld dword [0x4cf1cc]
mov ecx, dword [edi + 4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x26c]
fstp dword [esp]
push 0
push ecx
mov ecx, dword [esi + 0x30]
call dword [0x4ce6c8]
mov ecx, dword [esi + 0x30]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fld1
mov edx, dword [eax]
fstp dword [edx + 0x17c]
mov ecx, dword [esi + 0x30]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov ecx, dword [esi + 0x30]
mov edx, dword [eax]
mov dword [ecx + 0x80], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, edi
call dword [0x4ce6d0]
push 0x60
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 5
test eax, eax
je 0x40a3f8
mov ecx, eax
call dword [0x4ce6b0]
mov ecx, eax
jmp 0x40a3fa
xor ecx, ecx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x74], ecx
cmp dword [edx + 0xc0], 0
mov dword [esp + 0x24], ebp
je 0x40a43f
mov eax, dword [edx + 0x8c]
mov edx, dword [edx + 0x90]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x4ce6b4]
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx + 0x28]
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x10], eax
jmp 0x40a4a3
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [0x4ce6b8]
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x74]
mov ebp, dword [eax + 0x80]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebp
push ecx
mov ecx, dword [esi + 0x74]
call dword [0x4ce6bc]
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x74]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x74]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x24], ecx
mov ebx, 1
or ebp, 0xffffffff
push 0xe4
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 6
test eax, eax
je 0x40a4ca
mov ecx, eax
call dword [0x4ce6c0]
jmp 0x40a4cc
xor eax, eax
mov ecx, dword [esi + 0x74]
push ecx
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [esi + 0x34]
mov byte [eax + 0xb8], bl
mov ecx, dword [esi + 0x34]
push ebx
call dword [0x4ce6c4]
fld dword [0x4cf1cc]
mov ecx, dword [edi + 4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x26c]
fstp dword [esp]
push 0
push ecx
mov ecx, dword [esi + 0x34]
call dword [0x4ce6c8]
mov ecx, dword [esi + 0x34]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fld1
mov edx, dword [eax]
fstp dword [edx + 0x17c]
mov ecx, dword [esi + 0x34]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov ecx, dword [esi + 0x34]
mov edx, dword [eax]
mov dword [ecx + 0x80], edx
mov eax, dword [esi + 0x34]
push eax
mov ecx, edi
call dword [0x4ce6d0]
push 0x21c
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 7
test eax, eax
je 0x40a57f
mov ecx, eax
call dword [0x4ce6d4]
jmp 0x40a581
xor eax, eax
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x730]
mov edx, dword [edi + 0x734]
push 0
push ecx
mov ecx, dword [edi + 4]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x34], ebp
call dword [0x4ce6d8]
fnstcw word [esp + 0x2c]
movzx eax, word [esp + 0x2c]
mov ecx, dword [esi + 0x7c]
or eax, 0xc00
mov dword [esp + 0x14], eax
fld dword [ecx + 0x44]
push ebp
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov dword [ecx + 0x28], edx
mov ecx, dword [esi + 0x7c]
fldcw word [esp + 0x30]
fld dword [ecx + 0x40]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x24], eax
mov ecx, dword [esi + 0x7c]
fldcw word [esp + 0x30]
call dword [0x4ce6dc]
push 0xe4
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 8
test eax, eax
je 0x40a62b
mov ecx, eax
call dword [0x4ce6c0]
jmp 0x40a62d
xor eax, eax
mov ecx, dword [esi + 0x7c]
push ecx
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [esi + 0x3c]
mov byte [eax + 0xb8], bl
mov ecx, dword [esi + 0x3c]
push ebx
call dword [0x4ce6c4]
fld dword [0x4cf1c8]
mov ecx, dword [edi + 4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x26c]
fstp dword [esp]
push 0
push ecx
mov ecx, dword [esi + 0x3c]
call dword [0x4ce6c8]
mov ecx, dword [esi + 0x3c]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fld1
mov edx, dword [eax]
fstp dword [edx + 0x17c]
mov ecx, dword [esi + 0x34]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov edx, dword [eax]
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 0x80], edx
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x80]
xor eax, eax
mov dword [ecx + 0x180], eax
mov edx, dword [esi + 0x3c]
mov ecx, dword [edi + 0x764]
mov dword [edx + 0xd8], ecx
mov edx, dword [esi + 0x3c]
mov dword [edx + 0xd0], eax
mov eax, dword [esi + 0x3c]
push eax
mov ecx, edi
call dword [0x4ce6d0]
push 0x60
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 9
test eax, eax
je 0x40a708
mov ecx, eax
call dword [0x4ce6b0]
mov ecx, eax
jmp 0x40a70a
xor ecx, ecx
mov edx, dword [esi + 0x14]
mov dword [esi + 0x88], ecx
cmp dword [edx + 0xc0], 0
mov dword [esp + 0x24], ebp
je 0x40a758
mov eax, dword [edx + 0x8c]
mov edx, dword [edx + 0x90]
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [0x4ce6b4]
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx + 0x28]
mov edx, dword [esi + 0x14]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x14]
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x10], eax
jmp 0x40a7c5
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [edi + 4]
push edx
push eax
call dword [0x4ce6b8]
mov eax, dword [esi + 0x14]
mov ebx, dword [eax + 0x8c]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x74]
mov ebp, dword [eax + 0x80]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ebp
push ecx
mov ecx, dword [esi + 0x88]
call dword [0x4ce6bc]
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x88]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x88]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x24], ecx
mov ebx, 1
or ebp, 0xffffffff
push 0xe4
call fcn.00485167
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0xa
test eax, eax
je 0x40a7ec
mov ecx, eax
call dword [0x4ce6c0]
jmp 0x40a7ee
xor eax, eax
mov ecx, dword [esi + 0x88]
push ecx
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], ebp
call edx
mov eax, dword [esi + 0x40]
mov byte [eax + 0xb8], bl
mov ecx, dword [esi + 0x40]
push ebx
call dword [0x4ce6c4]
fld dword [0x4cf1d0]
mov ecx, dword [edi + 4]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi + 0x26c]
fstp dword [esp]
push 0
push ecx
mov ecx, dword [esi + 0x40]
call dword [0x4ce6c8]
mov ecx, dword [esi + 0x40]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
fld1
mov edx, dword [eax]
fstp dword [edx + 0x17c]
mov ecx, dword [esi + 0x40]
push 0
add ecx, 0x68
call dword [0x4ce6cc]
mov ecx, dword [esi + 0x40]
mov edx, dword [eax]
mov dword [ecx + 0x80], edx
mov eax, dword [esi + 0x40]
push eax
mov ecx, edi
call dword [0x4ce6d0]
mov edx, dword [edi + 0x734]
mov ecx, dword [esi + 8]
sub edx, dword [ecx + 0x10]
mov eax, dword [esi + 0xc]
mov dword [esi + 0xcc], edx
mov ecx, dword [ecx + 0xc]
sub ecx, dword [eax + 0xc]
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xc4], ecx
mov ecx, dword [edi + 0x734]
sub ecx, dword [eax + 0x10]
mov dword [esi + 0xbc], ecx
mov edx, dword [eax + 0x10]
add ecx, edx
mov edx, dword [esi + 0xc8]
mov dword [esi + 0xc0], ecx
mov eax, dword [eax + 0xc]
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0xbc]
push edx
push ecx
lea edx, [esi + 0xa8]
push edx
call dword [0x4ce578]
mov eax, dword [edi + 0x730]
mov ebx, dword [esi + 4]
cdq
idiv dword [ebx + 0xc]
mov ecx, dword [esi + 0xb8]
sub ecx, eax
mov dword [esi + 0xdc], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], ecx
test ecx, ecx
jg 0x40a90d
fild dword [eax + 0xc]
xor ecx, ecx
jmp 0x40a922
mov edx, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
sub eax, dword [edx + 0xc]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fidiv dword [esp + 0x14]
mov edx, dword [esi + 0xc]
fstp dword [esi + 0xd0]
mov eax, dword [edi + 0x730]
sub eax, dword [edx + 0xc]
mov dword [esi + 0xd4], eax
mov edx, dword [ebx + 0xc]
imul edx, ecx
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [esi + 0xe4]
call fcn.00496060
mov ecx, dword [esi + 0x30]
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xc8], eax
mov dword [edi + 0x378], ecx
mov edx, dword [esi + 0x34]
mov dword [edi + 0x37c], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x374], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x380], ecx
mov edx, dword [esi + 0x40]
mov dword [edi + 0x384], edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4