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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bee4a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x639490]
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.00409f00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.00409f00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.00409f00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.00409f00
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.00409f00
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.00409f00
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.0040dfc0
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.0040df60
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.0040df60
add esp, 0x10
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x63a750]
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.00458800
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.0040df60
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.0040dfc0
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.0040df60
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.0040df60
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.0040df60
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.0040df90
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.0040df90
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.0040df90
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.0040df90
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.0040df90
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.0040df90
add esp, 0x10
mov byte [ebp - 0x2d], 0
push 0x60a925
lea ecx, [ebp - 0x4c]
call fcn.00406640
mov byte [ebp - 4], 6
mov dword [ebp - 0x64], 0
jmp 0x41828e
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 0x4182dc
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
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.0040e000
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x14
call fcn.0041cf70
jmp 0x418285
mov dword [ebp - 0x6c], 0
jmp 0x4182ee
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 0x41833c
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040df60
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.0040e000
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x24
call fcn.0041cf70
jmp 0x4182e5
mov dword [ebp - 0x60], 0
jmp 0x41834e
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 0x41839c
lea ecx, [ebp - 0x2d]
push ecx
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040df60
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.0040e000
add esp, 0x14
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x34
call fcn.0041cf70
jmp 0x418345
mov dword [ebp - 0x5c], 0
jmp 0x4183ae
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 0x4183fc
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040df60
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.0040e000
add esp, 0x14
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x44
call fcn.0041cf70
jmp 0x4183a5
mov dword [ebp - 0x58], 0
jmp 0x41840e
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 0x41845c
lea edx, [ebp - 0x2d]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040df60
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.0040e000
add esp, 0x14
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x54
call fcn.0041cf70
jmp 0x418405
mov dword [ebp - 0x68], 0
jmp 0x41846e
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 0x41852d
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.00417650
add esp, 0x14
mov dword [ebp - 0x54], 0
jmp 0x4184a8
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 8
jge 0x4184d0
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.0058279c
add esp, 0x10
jmp 0x41849f
mov eax, 1
shl eax, 4
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x11
jae 0x4184e3
jmp 0x4184e8
call fcn.00583055
mov ecx, dword [ebp - 0x70]
mov byte [ebp + ecx - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x90]
call fcn.00406640
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040f610
lea ecx, [ebp - 0x90]
call fcn.004066d0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x64
call fcn.0041cf70
jmp 0x418465
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004066d0
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.00581e9f
mov esp, ebp
pop ebp
ret 4