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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c599a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x642490]
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.00409f60
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.00409f60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.00409f60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.00409f60
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.00409f60
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.00409f60
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.0040e020
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.0040dfc0
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.0040dfc0
add esp, 0x10
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x643750]
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.0045ef30
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.0040dfc0
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.0040e020
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.0040dfc0
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.0040dfc0
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.0040dfc0
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.0040dff0
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.0040dff0
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.0040dff0
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.0040dff0
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.0040dff0
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.0040dff0
add esp, 0x10
mov byte [ebp - 0x2d], 0
push 0x612965
lea ecx, [ebp - 0x4c]
call fcn.004066a0
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0
jmp 0x41830e
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 0x41835c
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dfc0
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.0040e050
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call fcn.0041cff0
jmp 0x418305
mov dword [ebp - 0x6c], 0
jmp 0x41836e
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 0x4183bc
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040dfc0
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.0040e050
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0041cff0
jmp 0x418365
mov dword [ebp - 0x60], 0
jmp 0x4183ce
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 0x41841c
lea ecx, [ebp - 0x2d]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040dfc0
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.0040e050
add esp, 0x14
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.0041cff0
jmp 0x4183c5
mov dword [ebp - 0x5c], 0
jmp 0x41842e
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 0x41847c
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040dfc0
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.0040e050
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.0041cff0
jmp 0x418425
mov dword [ebp - 0x58], 0
jmp 0x41848e
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 0x4184dc
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040dfc0
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.0040e050
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.0041cff0
jmp 0x418485
mov dword [ebp - 0x68], 0
jmp 0x4184ee
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 0x4185ad
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.004176d0
add esp, 0x14
mov dword [ebp - 0x54], 0
jmp 0x418528
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 8
jge 0x418550
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.00588ecc
add esp, 0x10
jmp 0x41851f
mov eax, 1
shl eax, 4
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x11
jae 0x418563
jmp 0x418568
call fcn.00589785
mov ecx, dword [ebp - 0x70]
mov byte [ebp + ecx - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x90]
call fcn.004066a0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040f660
lea ecx, [ebp - 0x90]
call fcn.00406730
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.0041cff0
jmp 0x4184e5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00406730
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.005885cf
mov esp, ebp
pop ebp
ret 4