Function at 0x433c00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x489d8e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0xd4], ebx
call fcn.004411de
mov esi, dword [esp + 0xdc]
push ebx
push 0x1001
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 1
call fcn.004415db
test eax, eax
jne 0x433d1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
push 3
lea eax, [esp + 0x50]
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
call fcn.004170e0
sub esp, 0x84
mov edi, esp
push ebp
mov ecx, 0x21
lea esi, [esp + 0xd0]
push str.error_code__d__openfile__s_.
mov byte [esp + 0x160], 2
rep movsd dword es:[edi], dword [esi]
call fcn.00427230
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xd8]
add esp, 0x8c
cmp eax, ecx
je 0x433ccc
push eax
call fcn.00463c35
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.004412b9
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x433cf1
push eax
call fcn.00440d2e
add esp, 4
mov edx, dword [esp + 0xe0]
push edx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
call fcn.00440d2e
add esp, 4
xor eax, eax
jmp 0x434309
lea eax, [esp + 0xe0]
push 1
push eax
call fcn.00432370
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x433db1
mov ecx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xec]
mov edx, ecx
sub edx, ebp
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x433d6f
call fcn.00465d0f
mov ecx, dword [esp + 0xf0]
mov ebp, dword [esp + 0xec]
sub ecx, ebp
mov eax, 0x7aba01eb
imul ecx
mov esi, edi
imul esi, esi, 0x216
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea ebx, [esi + ebp]
cmp edi, ecx
jb 0x433d9d
call fcn.00465d0f
mov ebp, dword [esp + 0xec]
mov edx, dword [ebx + 8]
mov eax, dword [esi + ebp + 4]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00440f14
xor ebx, ebx
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x433f51
xor ebp, ebp
cmp esi, eax
jb 0x433df5
call fcn.00465d0f
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 1
je 0x433f2d
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x433e2b
call fcn.00465d0f
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 0x64
je 0x433f2d
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x433e61
call fcn.00465d0f
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + ebp + 8]
sub edi, ecx
mov dword [esp + 0x38], edx
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x433e8c
call fcn.00465d0f
mov ecx, dword [esp + 0xec]
mov ecx, dword [ecx + ebp]
push 8
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00440f14
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
mov ecx, edi
sub ecx, ebx
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x433edd
call fcn.00465d0f
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
sub edi, ebx
mov eax, 0x7aba01eb
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ebx + ebp]
mov dword [esp + 0x14], ecx
cmp esi, eax
jb 0x433f07
call fcn.00465d0f
mov ebx, dword [esp + 0xec]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov eax, dword [ebx + ebp + 4]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00440f14
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
xor ebx, ebx
mov edx, edi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x216
cmp esi, eax
jb 0x433df5
lea ecx, [esp + 0xe0]
push 0x64
push ecx
call fcn.00432370
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x3c], ebp
jl 0x4342b1
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, esi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x433fab
call fcn.00465d0f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov ebx, ebp
imul ebx, ebx, 0x216
mov edx, dword [ebx + ecx + 8]
sub esi, ecx
mov dword [esp + 0x44], edx
mov eax, 0x7aba01eb
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x433fde
call fcn.00465d0f
mov ecx, dword [esp + 0xec]
mov ecx, dword [ebx + ecx]
push 8
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.00440f14
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, esi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x43402f
call fcn.00465d0f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edi, dword [ebx + ecx + 4]
mov edx, esi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0
cmp ebp, eax
jb 0x43406b
call fcn.00465d0f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
mov edx, dword [ebx + ecx + 8]
mov dword [esp + 0x1c], edx
mov edx, esi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x43409f
call fcn.00465d0f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 4], 0
jne 0x4341a0
mov edx, esi
sub edx, ecx
mov eax, 0x7aba01eb
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4340d6
call fcn.00465d0f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 8], 0
jne 0x4341a0
sub esi, ecx
mov eax, 0x7aba01eb
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], 1
cmp ebp, eax
jb 0x43410c
call fcn.00465d0f
mov ecx, dword [esp + 0xec]
lea ecx, [ebx + ecx + 0xc]
push ecx
call fcn.00431510
push 0x4000000
mov dword [esp + 0x24], eax
call fcn.00463d12
xor esi, esi
add esp, 8
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x4341aa
push 0x4000000
call fcn.00463d12
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x4341aa
lea ecx, [esp + 0x24]
call fcn.00441178
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.004412b9
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x434174
push eax
call fcn.00440d2e
add esp, 4
mov edx, dword [esp + 0xe0]
push edx
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
call fcn.00440d2e
add esp, 4
xor eax, eax
jmp 0x434309
mov dword [esp + 0x14], 0
jmp 0x4341c0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
lea esp, [esp]
cmp dword [esp + 0x14], 0
je 0x4341cb
mov ebp, edi
jmp 0x4341d2
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp edi, 0x4000000
jl 0x4341e3
mov edi, 0x4000000
cmp dword [esp + 0x14], 0
je 0x43423a
sub esi, ecx
mov eax, 0x7aba01eb
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], 0
cmp dword [esp + 0x3c], eax
jb 0x434217
call fcn.00465d0f
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push ebp
push edi
push 0
push eax
lea ecx, [ebx + ecx + 0xc]
push ecx
call fcn.004315f0
add esp, 0x18
test eax, eax
je 0x434323
mov edx, dword [esp + 0xf8]
push 0x20
push edx
push edi
push ebp
call fcn.0043a950
add esp, 0x10
push edi
push ebp
lea ecx, [esp + 0x2c]
call fcn.00440f14
mov eax, 0x4000000
sub dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0xfc]
xor esi, esi
cmp eax, esi
je 0x43428e
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
call eax
add esp, 0xc
test al, al
je 0x43437c
cmp dword [esp + 0x1c], esi
jg 0x4341aa
cmp dword [esp + 0x14], esi
je 0x4342af
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4342af
push eax
call fcn.00463c35
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x24]
call fcn.00441178
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.004412b9
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x4342df
push eax
call fcn.00440d2e
add esp, 4
mov edx, dword [esp + 0xe0]
push edx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
call fcn.00440d2e
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret
lea ecx, [esp + 0x24]
call fcn.00441178
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.004412b9
mov eax, dword [esp + 0xec]
xor esi, esi
cmp eax, esi
je 0x434353
push eax
call fcn.00440d2e
add esp, 4
mov eax, dword [esp + 0xe0]
push eax
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
call fcn.00440d2e
add esp, 4
xor eax, eax
jmp 0x434309
lea ecx, [esp + 0x24]
call fcn.00441178
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.004412b9
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x4343aa
push eax
call fcn.00440d2e
add esp, 4
mov ecx, dword [esp + 0xe0]
push ecx
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
call fcn.00440d2e
add esp, 4
xor eax, eax
jmp 0x434309