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

Disassembly:
push 0xffffffffffffffff
push 0x56b2ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], 0
call fcn.00478d60
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x7c], 1
call fcn.00478d60
mov ebp, dword [esp + 0x88]
lea ecx, [esp + 0x30]
push ebp
call fcn.00478da0
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
call fcn.00478da0
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 4
call fcn.00478d60
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 5
call fcn.00478d60
mov bl, 6
mov byte [esp + 0x78], bl
push 0
lea ecx, [esp + 0x44]
call fcn.00478d60
sub esp, 8
mov byte [esp + 0x80], 7
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00478da0
lea ecx, [esp + 0x18]
call fcn.00478c90
xor ecx, ecx
mov byte [esp + 0x78], bl
test eax, eax
setne cl
mov esi, ecx
lea ecx, [esp + 0x40]
call fcn.00478e10
test esi, esi
je 0x479437
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004790d0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 8
call fcn.00478dc0
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], bl
call fcn.00478e10
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.00479030
push eax
lea edx, [esp + 0x40]
lea eax, [esp + 0x60]
push edx
push eax
mov byte [esp + 0x90], 9
call fcn.00478fb0
add esp, 0x18
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0xa
call fcn.00478dc0
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], 9
call fcn.00478e10
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], bl
call fcn.00478e10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00478dc0
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.00478dc0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
call fcn.00478dc0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00479030
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
mov byte [esp + 0x90], 0xb
call fcn.00478fb0
add esp, 0x18
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0xc
call fcn.00478dc0
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0xb
call fcn.00478e10
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x68]
call fcn.00478e10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
call fcn.00478dc0
jmp 0x4792c9
push 0
lea ecx, [esp + 0x6c]
call fcn.00478d60
sub esp, 8
mov byte [esp + 0x80], 0xd
mov ecx, esp
mov dword [esp + 0x90], esp
push eax
call fcn.00478da0
lea ecx, [esp + 0x20]
call fcn.00478c90
xor ecx, ecx
mov byte [esp + 0x78], bl
test eax, eax
setl cl
mov esi, ecx
lea ecx, [esp + 0x68]
call fcn.00478e10
test esi, esi
je 0x479489
push ebp
lea ecx, [esp + 0x1c]
call fcn.00478e40
mov esi, dword [esp + 0x80]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00478da0
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 5
call fcn.00478e10
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 4
call fcn.00478e10
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call fcn.00478e10
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.00478e10
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 1
call fcn.00478e10
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 0
call fcn.00478e10
mov ecx, dword [esp + 0x70]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret