Function at 0x4306a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48607e
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.0043d9ce
mov esi, dword [esp + 0xdc]
push ebx
push 0x1001
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 1
call fcn.0043ddcb
test eax, eax
jne 0x4307bd
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.00417850
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.00424900
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0xd8]
add esp, 0x8c
cmp eax, ecx
je 0x43076c
push eax
call fcn.004603e5
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043daa9
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x430791
push eax
call fcn.0043d529
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.0043d529
add esp, 4
xor eax, eax
jmp 0x430da9
lea eax, [esp + 0xe0]
push 1
push eax
call fcn.0042ee10
mov edi, eax
add esp, 8
cmp edi, ebx
jl 0x430851
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 0x43080f
call fcn.004624bf
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 0x43083d
call fcn.004624bf
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.0043d704
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 0x4309f1
xor ebp, ebp
cmp esi, eax
jb 0x430895
call fcn.004624bf
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 1
je 0x4309cd
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 0x4308cb
call fcn.004624bf
mov edi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ecx + ebp], 0x64
je 0x4309cd
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 0x430901
call fcn.004624bf
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 0x43092c
call fcn.004624bf
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.0043d704
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 0x43097d
call fcn.004624bf
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 0x4309a7
call fcn.004624bf
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.0043d704
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 0x430895
lea ecx, [esp + 0xe0]
push 0x64
push ecx
call fcn.0042ee10
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x3c], ebp
jl 0x430d51
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 0x430a4b
call fcn.004624bf
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 0x430a7e
call fcn.004624bf
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.0043d704
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 0x430acf
call fcn.004624bf
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 0x430b0b
call fcn.004624bf
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 0x430b3f
call fcn.004624bf
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 4], 0
jne 0x430c40
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 0x430b76
call fcn.004624bf
mov esi, dword [esp + 0xf0]
mov ecx, dword [esp + 0xec]
cmp dword [ebx + ecx + 8], 0
jne 0x430c40
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 0x430bac
call fcn.004624bf
mov ecx, dword [esp + 0xec]
lea ecx, [ebx + ecx + 0xc]
push ecx
call fcn.0042def0
push 0x4000000
mov dword [esp + 0x24], eax
call fcn.004604c2
xor esi, esi
add esp, 8
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x430c4a
push 0x4000000
call fcn.004604c2
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x430c4a
lea ecx, [esp + 0x24]
call fcn.0043d968
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043daa9
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x430c14
push eax
call fcn.0043d529
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.0043d529
add esp, 4
xor eax, eax
jmp 0x430da9
mov dword [esp + 0x14], 0
jmp 0x430c60
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
lea esp, [esp]
cmp dword [esp + 0x14], 0
je 0x430c6b
mov ebp, edi
jmp 0x430c72
mov eax, dword [esp + 0x20]
lea ebp, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp edi, 0x4000000
jl 0x430c83
mov edi, 0x4000000
cmp dword [esp + 0x14], 0
je 0x430cda
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 0x430cb7
call fcn.004624bf
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.0042e1f0
add esp, 0x18
test eax, eax
je 0x430dc3
mov edx, dword [esp + 0xf8]
push 0x20
push edx
push edi
push ebp
call fcn.00437020
add esp, 0x10
push edi
push ebp
lea ecx, [esp + 0x2c]
call fcn.0043d704
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 0x430d2e
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 0x430e1c
cmp dword [esp + 0x1c], esi
jg 0x430c4a
cmp dword [esp + 0x14], esi
je 0x430d4f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x430d4f
push eax
call fcn.004603e5
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x24]
call fcn.0043d968
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043daa9
mov eax, dword [esp + 0xec]
cmp eax, ebx
je 0x430d7f
push eax
call fcn.0043d529
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.0043d529
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.0043d968
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043daa9
mov eax, dword [esp + 0xec]
xor esi, esi
cmp eax, esi
je 0x430df3
push eax
call fcn.0043d529
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.0043d529
add esp, 4
xor eax, eax
jmp 0x430da9
lea ecx, [esp + 0x24]
call fcn.0043d968
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 0
call fcn.0043daa9
mov eax, dword [esp + 0xec]
cmp eax, esi
je 0x430e4a
push eax
call fcn.0043d529
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.0043d529
add esp, 4
xor eax, eax
jmp 0x430da9