Function at 0x4302c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b0508
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, esi
call fcn.004307e0
mov ecx, dword [esi + 0xa4]
mov ebx, dword [esi + 0x9c]
mov edx, dword [esi + 0xa8]
mov edi, eax
mov eax, dword [esi + 0xa0]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x58]
push eax
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x622074]
mov eax, dword [ecx + 8]
cmp edi, 1
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x43037d
test eax, eax
jne 0x43035b
sub ebx, dword [esp + 0x34]
mov eax, 7
add ebx, eax
jmp 0x4303a7
push 0x64
cmp eax, 1
jne 0x430368
mov edx, dword [ecx + 4]
push edx
jmp 0x43036b
mov eax, dword [ecx]
push eax
push 7
call edi
sub ebx, dword [esp + 0x34]
mov ecx, dword [0x622074]
add ebx, eax
jmp 0x4303a7
test eax, eax
jne 0x430388
mov eax, 0x29f
jmp 0x4303a5
push 0x64
cmp eax, 1
jne 0x430395
mov ecx, dword [ecx + 4]
push ecx
jmp 0x430398
mov edx, dword [ecx]
push edx
push 0x29f
call edi
mov ecx, dword [0x622074]
mov ebx, eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], edx
test eax, eax
jne 0x4303cd
mov eax, 0xe
jmp 0x4303e5
push 0x64
cmp eax, 1
jne 0x4303da
mov eax, dword [ecx + 4]
push eax
jmp 0x4303dd
mov ecx, dword [ecx]
push ecx
push 0xe
call edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x1c]
push 0x80
add ecx, ebx
mov ebx, dword [esp + 0x18]
push ebx
push edx
mov edx, dword [esi + 0x58]
push eax
push ecx
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor ebx, ebx
cmp dword [esi + 0x150], ebx
je 0x430554
mov eax, esi
call fcn.004307e0
mov ecx, dword [0x622074]
mov edx, dword [ecx + 8]
cmp eax, 1
mov eax, dword [esp + 0x28]
jne 0x43048e
sub eax, dword [esp + 0x20]
cmp edx, ebx
je 0x430452
cmp edx, 1
jne 0x430444
mov ecx, dword [ecx + 4]
push ecx
jmp 0x430447
mov edx, dword [ecx]
push edx
push 0x64
push eax
call edi
mov ecx, dword [0x622074]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [ecx + 8]
sar eax, 1
cmp edx, ebx
je 0x43047d
cmp edx, 1
jne 0x430475
mov ecx, dword [ecx + 4]
push ecx
jmp 0x430478
mov edx, dword [ecx]
push edx
push 0x64
push eax
call edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
jmp 0x43051a
sub eax, dword [esp + 0x20]
cmp edx, ebx
je 0x4304af
cmp edx, 1
jne 0x4304a1
mov ecx, dword [ecx + 4]
push ecx
jmp 0x4304a4
mov edx, dword [ecx]
push edx
push 0x64
push eax
call edi
mov ecx, dword [0x622074]
mov edx, dword [esp + 0x24]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x14], eax
mov eax, edx
sub eax, dword [esp + 0x1c]
test ebx, ebx
je 0x4304e1
cmp ebx, 1
jne 0x4304cf
mov ecx, dword [ecx + 4]
push ecx
jmp 0x4304d2
mov edx, dword [ecx]
push edx
push 0x64
push eax
call edi
mov ecx, dword [0x622074]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
mov ebx, eax
mov eax, edx
cdq
sub eax, edx
mov edx, dword [ecx + 8]
sar eax, 1
test edx, edx
je 0x430508
cmp edx, 1
jne 0x430500
mov ecx, dword [ecx + 4]
push ecx
jmp 0x430503
mov edx, dword [ecx]
push edx
push 0x64
push eax
call edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x150]
mov edi, dword [ecx]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0x150]
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0x34]
call edx
mov ecx, dword [esi + 0x144]
cmp ecx, ebx
je 0x4305e6
mov eax, dword [esi + 0x150]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x8c]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x144]
mov edx, ecx
dec edx
neg edx
sbb edx, edx
and edx, 2
mov dword [eax + 0xc8], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
cmp ecx, 1
jne 0x4305a8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ebx
jmp 0x4305b4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x144]
mov edi, dword [ecx]
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0x144]
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0x6c]
call edx
mov ecx, dword [esi + 0x148]
cmp ecx, ebx
je 0x430741
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x430617
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x5cdd28
push eax
mov eax, dword [ecx]
call eax
mov dword [esp + 0x58], ebx
cmp dword [esp + 0x10], ebx
je 0x43069d
mov eax, esi
call fcn.004307e0
mov dword [esp + 0x40], ebx
cmp eax, 1
jne 0x430650
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
jmp 0x43066f
mov ecx, dword [esi + 0x154]
mov edi, dword [esi + 0x158]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0xc], eax
mov edx, dword [edi + 0x34]
call edx
mov eax, 7
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call int.0041e2e0
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call int.0041e2e0
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x8c]
push edx
call eax
mov eax, esi
call fcn.004307e0
lea edx, [esp + 0x2c]
cmp eax, 1
je 0x4306ff
mov edx, edi
mov ebx, dword [edx]
mov ecx, dword [esi + 0x148]
mov edi, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x6c]
call eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43073f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor ebx, ebx
cmp dword [esi + 0x14c], ebx
je 0x4307be
mov eax, 7
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call int.0041e2e0
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call int.0041e2e0
mov eax, esi
call fcn.004307e0
lea edx, [esp + 0x3c]
cmp eax, 1
je 0x430796
mov edx, edi
mov ebx, dword [edx]
mov ecx, dword [esi + 0x14c]
mov edi, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [edx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x6c]
call eax
mov eax, dword [esi + 0x78]
call fcn.00555230
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret