Function at 0x43046a
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4637a8
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xfffffffffffffff0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
and ebx, 0x40000000
je 0x430492
mov ecx, dword [esi + 4]
push ecx
call ebp
jmp 0x43049e
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [esi + 4]
mov edi, eax
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
jne 0x430515
test edi, edi
je 0x4304d0
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4304ce
test eax, 0x20000000
je 0x4304d0
xor edi, edi
lea edx, [esp + 0x2c]
push 0
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test edi, edi
jne 0x430507
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x430542
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x430542
mov edx, dword [esi + 4]
push edx
call ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
push ebx
call ebp
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebp
lea edx, [esp + 0x1c]
push 2
push edx
push ebx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
add eax, ecx
sub ebp, edx
cdq
sub eax, edx
sub ebx, edi
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, ebp
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jl 0x43059f
mov eax, dword [esp + 0x34]
lea edx, [ecx + ebx]
cmp edx, eax
jle 0x4305a1
sub eax, ebx
mov ecx, eax
mov eax, dword [esp + 0x30]
cmp edi, eax
jl 0x4305b6
mov eax, dword [esp + 0x38]
lea edx, [edi + ebp]
cmp edx, eax
jle 0x4305b8
sub eax, ebp
mov edi, eax
mov eax, dword [esi + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
xor ebp, ebp
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push 1
push 0x18
push 0x18
push 0x64
call edi
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcc
call fcn.0040bc30
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Add]
call ebx
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call ebp
test eax, eax
je 0x43062b
mov dword [esp + 0x10], 0
push 0
push 0
push 0x18
push 0x1e
push 0x1c
call edi
push ecx
mov dword [esi + 0x104], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xd6
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x104]
push 0
push eax
push ecx
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x430676
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x10c]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 1
push ebp
push ecx
call ebx
lea edi, [esi + 0x90]
push eax
mov ecx, edi
call fcn.0040cf30
test eax, eax
je 0x4306b2
mov ecx, edi
call fcn.0040c7d0
mov edx, dword [esp + 0x14]
mov dword [edi + 0x24], edx
mov al, byte [edi + 0x20]
test al, 8
je 0x4306d5
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4306d5
mov ecx, edi
call fcn.0040c570
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x30], 2
mov dword [edi + 0x34], 4
mov dword [edi + 0x20], ebp
mov ecx, dword [esi + 4]
push 0x41d
push ecx
call ebx
lea edi, [esi + 0xd8]
push eax
mov ecx, edi
call fcn.0040cf30
push 0xfffffffffffffff4
push 0
push 0
mov ecx, edi
call fcn.0042b010
push ecx
add esi, 0x108
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.00407110
mov ecx, edi
call fcn.0042b090
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.0040bc60
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 8