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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420bbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push esi
push edi
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x1e4]
add ecx, 0x20
mov dword [ebp - 0x2d0], ecx
mov ecx, 5
mov esi, 0x429154
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edx, edx
mov dword [ebp - 0x32], edx
mov dword [ebp - 0x2e], edx
mov ecx, 5
mov esi, 0x42916c
lea edi, [ebp - 0x2a]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cdq
mov ecx, 0x64
idiv ecx
add eax, 0x30
mov byte [ebp - 0x3f], al
mov eax, dword [ebp + 8]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edx
cdq
mov ecx, 0xa
idiv ecx
add eax, 0x30
mov byte [ebp - 0x3e], al
mov eax, dword [ebp + 8]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov byte [ebp - 0x3d], dl
mov eax, dword [ebp - 0x26c]
cdq
mov ecx, 0xa
idiv ecx
add eax, 0x30
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0x26c]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov byte [ebp - 0x3a], dl
mov eax, dword [ebp - 0x2cc]
cdq
mov ecx, 0xa
idiv ecx
add eax, 0x30
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x2cc]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x30
mov byte [ebp - 0x38], dl
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2a]
push eax
call fcn.004094d0
add esp, 8
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x1e8]
imul edx, edx, 0x1e
mov byte [ebp + edx - 0x41], 0x31
push 1
mov eax, dword [0x424498]
push eax
push 1
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00412a0f
mov dword [ebp - 4], 0
push 1
mov edx, dword [0x424498]
push edx
push 2
lea eax, [ebp - 0x2a]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004131bf
mov byte [ebp - 4], 1
mov dword [ebp - 0x270], 0
mov ecx, dword [ebp - 0x268]
mov edx, dword [ecx + 4]
lea ecx, [ebp + edx - 0x268]
call fcn.00403610
test eax, eax
jne 0x4054da
push 0xa
push 0x1c1
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00403450
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004095c0
add esp, 4
cmp eax, 1
jae 0x405344
jmp 0x4052f8
cmp dword [ebp - 0x270], 0
jne 0x405367
mov edx, dword [ebp - 0x2d0]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00409640
add esp, 8
test eax, eax
je 0x4053c1
push 0x403590
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x2c8]
call fcn.004133e0
mov ecx, eax
call fcn.00403570
push 0xa
push 0x1c1
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x268]
call fcn.00403450
push 0x403590
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004133e0
mov ecx, eax
call fcn.00403570
jmp 0x4054d5
mov dword [ebp - 0x2d4], 0
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00412b07
cmp dword [ebp - 0x26c], 0xffffffff
je 0x4054b2
push 0x1e4
call fcn.00418ca0
add esp, 4
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x26c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x2d4]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0x2d4]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x2d4]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x268]
call fcn.00412b07
mov ecx, eax
call fcn.004137c9
mov ecx, eax
call fcn.004137c9
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x1e4]
mov ecx, dword [ebp - 0x2d4]
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ebp - 0x2d4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x1e4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x2d4]
mov dword [eax], 0
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00412b07
jmp 0x4053dd
push 0xa
push 0x1f3
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x268]
call fcn.00403450
mov dword [ebp - 0x270], 1
jmp 0x4052f8
lea ecx, [ebp - 0x2c8]
call fcn.00413289
lea ecx, [ebp - 0x268]
call fcn.00413289
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.004035e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00403540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4