Function at 0x434590
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cdaa0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0xf8]
mov eax, dword [esi + 0xfc]
test eax, eax
mov dword [esp + 0x14], edx
mov ecx, edx
ja 0x4345d8
test ecx, ecx
jbe 0x43463a
mov edi, dword [ebp + 0xc]
test edi, edi
jbe 0x434617
xor ebx, ebx
cmp ebx, eax
ja 0x4345f9
jb 0x4345eb
cmp edi, ecx
jae 0x4345f9
sub ecx, edi
mov edx, edi
sbb eax, ebx
mov dword [esi + 0xf8], ecx
jmp 0x434601
xor eax, eax
mov dword [esi + 0xf8], eax
mov ecx, dword [ebp + 8]
push edx
mov dword [esi + 0xfc], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push ecx
mov ecx, esi
call edx
jmp 0x434640
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0x2efb
mov ecx, esi
call edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
lea ecx, [ecx]
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
mov eax, dword [0x50c48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x50c48c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp edi, 0x64
mov byte [esp + 0x38], 1
jb 0x434683
mov edi, 0x64
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
add eax, ecx
push eax
lea eax, [esp + 0x20]
call fcn.0042ee70
push 0x4e30ad
xor edi, edi
lea eax, [esp + 0x1c]
call fcn.0042ee70
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 0xc]
add eax, ebx
cmp ebx, eax
sbb ecx, ecx
neg ecx
cmp ebx, eax
mov edi, ebx
jae 0x4346eb
jmp 0x4346c0
cmp byte [edi], 0xa
je 0x4346cc
add edi, 1
cmp edi, eax
jb 0x4346c0
cmp edi, ebx
jbe 0x4346eb
cmp byte [edi - 1], 0xd
jne 0x4346d9
add edi, 0xffffffff
cmp edi, ebx
jbe 0x4346eb
sub edi, ebx
push ebx
lea eax, [esp + 0x1c]
call fcn.0042ee70
jmp 0x4346f3
test ecx, ecx
je 0x434843
mov edi, dword [esp + 0x18]
push 0x10
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.004ad83b
mov ecx, dword [edi - 0xc]
add esp, 0xc
add ecx, 2
test eax, eax
jle 0x4347f0
mov edx, dword [esp + 0x14]
add edx, ecx
cmp dword [ebp + 0xc], edx
mov dword [esp + 0x20], edx
jbe 0x4347ea
mov edi, dword [esp + 0x14]
lea edx, [ecx + eax]
mov dword [esp + 0x24], edx
add edx, edi
mov edi, dword [ebp + 0xc]
cmp edi, edx
jbe 0x434746
xor ecx, ecx
mov dword [esi + 0xfc], ecx
jmp 0x434758
sub ecx, edi
add ecx, eax
add ecx, dword [esp + 0x14]
mov dword [esi + 0xfc], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
sub eax, ecx
mov dword [esi + 0xf8], ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
sub eax, dword [esi + 0xf8]
add ebx, 0xfffffff0
add dword [esp + 0x14], eax
mov byte [esp + 0x38], 0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4347a3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4347cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, dword [esp + 0x14]
ja 0x434640
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x4347fc
mov dword [esi + 0x100], 1
cmp dword [esp + 0x14], 0
jne 0x434815
test eax, eax
je 0x434815
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x2efb
mov ecx, esi
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434836
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x38], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x434881
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x2efb
mov ecx, esi
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434872
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43489a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8