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

Disassembly:
push 0xffffffffffffffff
push 0x58b5d7
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ebp, ecx
lea ebx, [ebp + 0x2a8]
mov dword [ebp], 0x5ac8fc
lea esi, [ebp + 8]
mov dword [esp + 0x30], ebp
push ebx
lea edi, [ebp + 0x280]
mov dword [esp + 0x18], esi
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x5b9bcc
call fcn.004a6b20
mov dword [esp + 0x290], 0
lea ecx, [esi + 0x1f8]
push ebx
mov dword [esi + 0x1f0], edi
mov dword [esi + 0x1f4], ebx
call fcn.00419210
mov dword [esp + 0x290], 2
mov dword [edi], 0x5a8e7c
mov dword [esp + 0x14], edi
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov byte [esp + 0x290], 3
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [esp + 0x290], 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [esp + 0x290], 6
mov ecx, ebx
call fcn.00410700
mov byte [esp + 0x290], 7
xor eax, eax
push 0x208
push eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x7e]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x74]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x18
lea edi, [esp + 0x4c]
mov esi, esp
mov dword [esp + 0x2c], esp
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
cmp word [esp + 0x8c], ax
je 0x42dacf
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42dac0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call fcn.00404a80
mov byte [esp + 0x2a8], 8
mov byte [esp + 0x2a8], 7
mov ecx, edi
call fcn.00409f60
xor eax, eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x18
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov byte [esp + 0x290], 9
xorps xmm0, xmm0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
movlpd qword [esp + 0x64], xmm0
mov byte [esp + 0x6c], al
mov byte [esp + 0x290], 0xa
mov eax, dword [0x7e2178]
test al, 1
jne 0x42db80
or eax, 1
mov dword [0x7e2178], eax
mov byte [esp + 0x290], 0xb
call fcn.004175a0
push 0x59fdc0
call fcn.00565027
add esp, 4
mov byte [esp + 0x290], 0xa
lea eax, [esp + 0x18]
mov ecx, 0x7e2180
push eax
call fcn.00418830
mov esi, eax
mov byte [esp + 0x290], 0xc
lea eax, [esp + 0x3c]
cmp eax, esi
je 0x42dbd5
cmp dword [esp + 0x50], 8
jb 0x42dbb4
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
call fcn.00404150
mov byte [esp + 0x290], 0xa
cmp dword [esp + 0x2c], 8
jb 0x42dbf0
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
movzx ecx, word [esp + 0x36]
xor eax, eax
mov word [esp + 0x18], ax
sub esp, 0x38
movzx eax, word [esp + 0x6c]
imul eax, eax, 0x64
mov dword [esp + 0x90], ecx
mov dword [esp + 0x4c], esp
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
add eax, ecx
mov ecx, esp
mov dword [esp + 0x8c], eax
movzx eax, word [esp + 0x72]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x74]
push eax
call fcn.0042dd30
mov byte [esp + 0x2c8], 0xd
mov eax, dword [0x7e2550]
test al, 1
jne 0x42dc92
or eax, 1
mov dword [0x7e2550], eax
mov byte [esp + 0x2c8], 0xe
push 0x118
push 0
push 0x7e2438
call fcn.0056cbb0
add esp, 0xc
call fcn.004c3d40
push 0x5a00a0
call fcn.00565027
add esp, 4
mov byte [esp + 0x2c8], 0xd
mov byte [esp + 0x2c8], 0xa
mov ecx, 0x7e2438
call fcn.004c4120
mov byte [esp + 0x290], 7
cmp dword [esp + 0x50], 8
jb 0x42dcbf
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0x290], 0xffffffff
mov eax, ebp
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00564de8
add esp, 0x280
ret