Function at 0x4339d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x458dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x44c]
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], 0
rep stosd dword es:[edi], eax
push 0
push 0x464134
mov ecx, ebp
stosw word es:[edi], ax
call fcn.0040ec20
cmp eax, 0xffffffff
jle 0x433c36
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x30]
push 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
call fcn.00454680
mov ecx, 0x464134
test ecx, ecx
je 0x433c36
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call esi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x433c36
lea edx, [esp + 0x30]
test edx, edx
jne 0x433a70
mov dword [esp + 0x14], edi
jmp 0x433a7b
lea eax, [esp + 0x30]
push eax
call esi
mov dword [esp + 0x14], eax
mov esi, dword [ebp]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x433c36
push 0x464134
push esi
call fcn.00442620
add esp, 8
test eax, eax
je 0x433ab8
lea esi, [eax + ebx*2]
push 0x464134
push esi
inc edi
call fcn.00442620
add esp, 8
test eax, eax
jne 0x433aa2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x433a90
test edi, edi
jle 0x433c36
mov ecx, ebp
call fcn.004073c0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
sub esi, ebx
mov dword [esp + 0x18], eax
imul esi, edi
mov ecx, dword [eax - 8]
mov dword [esp + 0x1c], ecx
add esi, ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x24], esi
cmp ecx, esi
jl 0x433b04
cmp dword [eax - 0xc], 1
jle 0x433b4d
lea edi, [eax - 0xc]
push esi
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00403db0
test eax, eax
je 0x433c36
mov ecx, dword [edi + 4]
mov eax, dword [ebp]
shl ecx, 1
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x433b47
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push edi
call fcn.00403f10
mov edi, dword [ebp]
mov ecx, dword [edi - 8]
lea eax, [edi + ecx*2]
cmp edi, eax
mov dword [esp + 0x18], eax
jae 0x433c30
push 0x464134
push edi
call fcn.00442620
mov esi, eax
add esp, 8
test esi, esi
je 0x433c15
mov eax, dword [esp + 0x14]
mov edx, eax
neg edx
shl edx, 0x1f
sub edx, eax
inc edx
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov edi, dword [edx - 4]
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub ecx, eax
sub edi, eax
mov eax, dword [esp + 0x14]
sub ecx, ebx
add edx, edi
add eax, eax
lea ebp, [ecx + ecx]
lea ecx, [esi + ebx*2]
push ebp
add eax, esi
shl edx, 1
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
call fcn.00406270
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
add eax, eax
lea edx, [edi + edi + 2]
push eax
push ecx
push edx
push esi
call fcn.00402e50
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
sub eax, ebx
push 0x464134
mov word [edi + ebp], 0
mov ebp, dword [esp + 0x40]
add ebp, eax
push edi
mov dword [esp + 0x44], ebp
call fcn.00442620
mov ebp, dword [esp + 0x478]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x433b8c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x433b62
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [ecx - 8], esi
call fcn.00433570
mov edx, dword [0x463058]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], edx
je 0x433c94
shr eax, 0x10
jne 0x433c62
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.00406f90
jmp 0x433c94
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x433c94
push edi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x433c94
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push esi
push edx
push eax
call fcn.00402e50
add esp, 0x10
push 0
push 0x464128
mov ecx, ebp
mov dword [esp + 0x450], 0
call fcn.0040ec20
cmp eax, 0xffffffff
jle 0x433cc3
mov ecx, dword [esp + 0x10]
push ecx
push 0x464128
mov ecx, ebp
call fcn.00429e40
push 0
push 0x464118
mov ecx, ebp
call fcn.0040ec20
cmp eax, 0xffffffff
jle 0x433cea
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
push 0x464118
call fcn.00429e40
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x433d1d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x433d1d
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 0x430]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x43c
ret 4