Function at 0x418000
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c503a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call fcn.00409ed0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.00409ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.00409ed0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.00409ed0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.00409ed0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.00409ed0
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df90
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 5
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x642750]
add ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
sub ecx, 2
push ecx
mov edx, dword [ebp + 8]
add edx, 6
push edx
call fcn.0045e620
add esp, 0xc
mov eax, dword [ebp - 0x50]
add eax, 6
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 8
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df90
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0xc
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0xd
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0xe
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x10
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x20
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x30
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x40
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x50
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
add eax, 0x60
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
add esp, 0x10
mov byte [ebp - 0x2d], 0
push 0x6119a5
lea ecx, [ebp - 0x4c]
call fcn.00406610
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0
jmp 0x41823e
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x50]
movsx edx, word [ecx + 0x10]
cmp dword [ebp - 0x64], edx
jge 0x41828c
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
movzx eax, byte [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call fcn.0041cf30
jmp 0x418235
mov dword [ebp - 0x6c], 0
jmp 0x41829e
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x50]
movsx ecx, word [eax + 0x20]
cmp dword [ebp - 0x6c], ecx
jge 0x4182ec
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040df30
add esp, 0x10
movzx edx, byte [ebp - 0x2d]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dfc0
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0041cf30
jmp 0x418295
mov dword [ebp - 0x60], 0
jmp 0x4182fe
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x50]
movsx eax, word [edx + 0x30]
cmp dword [ebp - 0x60], eax
jge 0x41834c
lea ecx, [ebp - 0x2d]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040df30
add esp, 0x10
movzx ecx, byte [ebp - 0x2d]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040dfc0
add esp, 0x14
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.0041cf30
jmp 0x4182f5
mov dword [ebp - 0x5c], 0
jmp 0x41835e
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x50]
movsx edx, word [ecx + 0x40]
cmp dword [ebp - 0x5c], edx
jge 0x4183ac
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df30
add esp, 0x10
movzx eax, byte [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.0041cf30
jmp 0x418355
mov dword [ebp - 0x58], 0
jmp 0x4183be
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x50]
movsx ecx, word [eax + 0x50]
cmp dword [ebp - 0x58], ecx
jge 0x41840c
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040df30
add esp, 0x10
movzx edx, byte [ebp - 0x2d]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dfc0
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.0041cf30
jmp 0x4183b5
mov dword [ebp - 0x68], 0
jmp 0x41841e
mov ecx, dword [ebp - 0x68]
add ecx, 1
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x50]
movsx eax, word [edx + 0x60]
cmp dword [ebp - 0x68], eax
jge 0x4184dd
push 8
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00417600
add esp, 0x14
mov dword [ebp - 0x54], 0
jmp 0x418458
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 8
jge 0x418480
mov edx, dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x18]
push eax
push str._02x
push 3
mov ecx, dword [ebp - 0x54]
lea edx, [ebp + ecx*2 - 0x2c]
push edx
call fcn.005885bc
add esp, 0x10
jmp 0x41844f
mov eax, 1
shl eax, 4
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x11
jae 0x418493
jmp 0x418498
call fcn.00588e75
mov ecx, dword [ebp - 0x70]
mov byte [ebp + ecx - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x90]
call fcn.00406610
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040f5d0
lea ecx, [ebp - 0x90]
call fcn.004066a0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.0041cf30
jmp 0x418415
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587cb5
mov esp, ebp
pop ebp
ret 4