Function at 0x430970
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48643e
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
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.0043dc5e
mov esi, dword [esp + 0xdc]
push ebx
push 0x1001
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 1
call fcn.0043e05b
test eax, eax
jne 0x430a8d
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.00417830
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.00424af0
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xd8]
add esp, 0x8c
cmp eax, ecx
je 0x430a3c
push eax
call fcn.00460675
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043dd39
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x430a61
push eax
call fcn.0043d7ae
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.0043d7ae
add esp, 4
xor eax, eax
jmp 0x431079
lea eax, [esp + 0xe0]
push 1
push eax
call fcn.0042f120
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x430b21
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 0x430adf
call fcn.0046274f
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 0x430b0d
call fcn.0046274f
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.0043d994
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 0x430cc1
xor ebp, ebp
cmp esi, eax
jb 0x430b65
call fcn.0046274f
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 1
je 0x430c9d
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 0x430b9b
call fcn.0046274f
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 0x64
je 0x430c9d
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 0x430bd1
call fcn.0046274f
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 0x430bfc
call fcn.0046274f
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.0043d994
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 0x430c4d
call fcn.0046274f
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 0x430c77
call fcn.0046274f
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.0043d994
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 0x430b65
lea ecx, [esp + 0xe0]
push 0x64
push ecx
call fcn.0042f120
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x3c], ebp
jl 0x431021
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 0x430d1b
call fcn.0046274f
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 0x430d4e
call fcn.0046274f
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.0043d994
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 0x430d9f
call fcn.0046274f
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 0x430ddb
call fcn.0046274f
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 0x430e0f
call fcn.0046274f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 4], 0
jne 0x430f10
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 0x430e46
call fcn.0046274f
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 8], 0
jne 0x430f10
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 0x430e7c
call fcn.0046274f
mov ecx, dword [esp + 0xec]
lea ecx, [ebx + ecx + 0xc]
push ecx
call fcn.0042e3b0
push 0x4000000
mov dword [esp + 0x24], eax
call fcn.00460752
xor esi, esi
add esp, 8
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x430f1a
push 0x4000000
call fcn.00460752
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x430f1a
lea ecx, [esp + 0x24]
call fcn.0043dbf8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043dd39
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x430ee4
push eax
call fcn.0043d7ae
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.0043d7ae
add esp, 4
xor eax, eax
jmp 0x431079
mov dword [esp + 0x14], 0
jmp 0x430f30
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
lea esp, [esp]
cmp dword [esp + 0x14], 0
je 0x430f3b
mov ebp, edi
jmp 0x430f42
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp edi, 0x4000000
jl 0x430f53
mov edi, 0x4000000
cmp dword [esp + 0x14], 0
je 0x430faa
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 0x430f87
call fcn.0046274f
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.0042e6b0
add esp, 0x18
test eax, eax
je 0x431093
mov edx, dword [esp + 0xf8]
push 0x20
push edx
push edi
push ebp
call fcn.004372b0
add esp, 0x10
push edi
push ebp
lea ecx, [esp + 0x2c]
call fcn.0043d994
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 0x430ffe
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 0x4310ec
cmp dword [esp + 0x1c], esi
jg 0x430f1a
cmp dword [esp + 0x14], esi
je 0x43101f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43101f
push eax
call fcn.00460675
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x24]
call fcn.0043dbf8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043dd39
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x43104f
push eax
call fcn.0043d7ae
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.0043d7ae
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.0043dbf8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043dd39
mov eax, dword [esp + 0xec]
xor esi, esi
cmp eax, esi
je 0x4310c3
push eax
call fcn.0043d7ae
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.0043d7ae
add esp, 4
xor eax, eax
jmp 0x431079
lea ecx, [esp + 0x24]
call fcn.0043dbf8
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043dd39
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x43111a
push eax
call fcn.0043d7ae
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.0043d7ae
add esp, 4
xor eax, eax
jmp 0x431079