Function at 0x437c2f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x531b79
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00438a3c
and dword [esp + 0x88], 0
push eax
call fcn.0041c398
mov edi, eax
pop ecx
mov dword [esp + 0x30], edi
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0040a029
mov eax, dword [edi]
push 0x25
mov ecx, edi
call dword [eax + 0x28]
or dword [esp + 0x20], 0xffffffff
movzx ebx, ax
mov al, byte [esi + 0x50]
mov byte [esp + 0x2c], al
push dword [esp + 0x2c]
mov byte [esp + 0x16], 1
push edi
push ebx
push dword [ebp + 0xc]
call fcn.00438c12
add esp, 0x10
push eax
mov edi, esi
call fcn.00438b3b
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x13], al
mov dword [esp + 0x14], eax
movzx eax, bx
mov dword [esp + 0x2c], eax
push 1
lea eax, [esp + 0x30]
push eax
xor eax, eax
call fcn.00406390
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x437e88
movzx eax, bx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x437d1b
lea ebx, [esi + 0x34]
jmp 0x437d27
dec eax
push eax
call fcn.00438224
mov ebx, eax
add ebx, 0x20
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
inc edi
mov dword [esp + 0x28], edi
call fcn.0041da00
mov edi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
call fcn.0041da00
mov ecx, dword [esp + 0x38]
mov cx, word [ecx]
cmp cx, word [eax]
jne 0x437d77
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [ebp + 0xc]
push ebx
call fcn.00438d33
add esp, 0x10
inc edi
inc edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jmp 0x437e60
cmp edi, dword [esp + 0x1c]
je 0x437d8e
push edi
push dword [esp + 0x20]
push dword [ebp + 0xc]
push ebx
call fcn.00438d33
add esp, 0x10
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
call fcn.004380fe
mov edi, dword [esp + 0x28]
lea ebx, [esp + 0x50]
call fcn.00438255
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov al, byte [esi + 0x50]
mov byte [esp + 0x3c], al
push dword [esp + 0x3c]
push edi
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.00438224
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x68]
call fcn.0043811e
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00438d81
mov ecx, dword [ebp + 0xc]
mov bl, al
add esp, 0x18
lea eax, [esp + 0x60]
call fcn.004380fe
mov edi, eax
lea esi, [esp + 0x40]
call fcn.0041d3ca
test bl, bl
mov dword [esp + 0x18], eax
je 0x437e5d
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
call fcn.00438224
call fcn.0043939b
push dword [esp + 0x14]
call fcn.00438224
mov eax, dword [eax]
cmp eax, 0xfffffffd
je 0x437e5d
cmp eax, 0xffffffff
jne 0x437e3d
mov byte [esp + 0x12], 0
jmp 0x437e53
cmp eax, 0xfffffffe
jne 0x437e49
mov byte [esp + 0x13], 1
jmp 0x437e53
cmp eax, dword [esp + 0x20]
jle 0x437e53
mov dword [esp + 0x20], eax
inc dword [esp + 0x24]
inc dword [esp + 0x14]
jmp 0x437e60
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 1
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
call fcn.00406390
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x437d0e
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x437e8d
lea eax, [esi + 0x34]
jmp 0x437e97
dec eax
push eax
call fcn.00438224
add eax, 0x20
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x14]
push dword [esp + 0x20]
push ecx
push eax
call fcn.00438d33
add esp, 0x10
cmp byte [esp + 0x12], 0
jne 0x437f08
xor edi, edi
cmp dword [esp + 0x20], edi
jl 0x437ee0
test byte [esi + 0x50], 1
je 0x437ee0
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
call fcn.0043b827
mov dword [esp + 0x88], 1
push eax
call fcn.0043b882
xor ebx, ebx
cmp dword [esp + 0x24], edi
jle 0x437f03
push ebx
call fcn.00438224
cmp dword [eax], 0xffffffff
jne 0x437efc
push ebx
call fcn.00438224
mov dword [eax], edi
inc edi
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x437ee8
dec edi
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
push 0x20
call dword [eax + 0x28]
sub esp, 0x64
movzx eax, ax
mov ecx, esp
mov dword [esp + 0xa0], esp
push eax
push ecx
call fcn.0043827d
mov dword [esp + 0xec], 2
push dword [esp + 0x88]
or dword [esp + 0xf0], 0xffffffff
mov ecx, esi
call fcn.0043818b
cmp byte [esp + 0x13], 0
je 0x437f55
or dword [esi + 0x24], 4
mov eax, dword [esp + 0x20]
inc eax
cmp byte [esp + 0x12], 0
mov dword [esi + 0x2c], eax
je 0x437f6a
or dword [esi + 0x24], 1
jmp 0x437f6e
and dword [esi + 0x24], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8