Function at 0x48c7c4
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bf28c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x40]
inc dword [ebx + 0x2c]
call fcn.00430c28
and dword [esp + 0x68], 0
mov eax, dword [ebx + 0x38]
test eax, eax
push 0xc
setne byte [esp + 0x23]
mov dword [esp + 0x40], 0x30
pop edi
test eax, eax
je 0x48c85d
mov esi, dword [eax + 8]
jmp 0x48c858
mov edi, dword [esi]
cmp edi, dword [esi + 4]
je 0x48c850
push 0x30
pop ebx
lea ecx, [edi + 0x2c]
call fcn.00430ea5
add edi, ebx
cmp edi, dword [esi + 4]
jne 0x48c83d
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x38]
push 0xc
pop edi
add esi, edi
cmp esi, dword [eax + 0xc]
jne 0x48c833
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x48c86a
push ecx
call fcn.0048c3dd
push 0x20
call fcn.004907d4
mov esi, eax
pop ecx
mov dword [esp + 0x38], esi
mov byte [esp + 0x68], 1
test esi, esi
je 0x48c89b
sub esp, 0x18
lea eax, [esp + 0x58]
mov ecx, esp
push eax
call fcn.0040ef9e
mov ecx, esi
call fcn.004892fe
mov ecx, eax
jmp 0x48c89d
xor ecx, ecx
mov byte [esp + 0x68], 0
xor esi, esi
mov dword [ebx + 0x38], ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
cdq
idiv edi
and dword [esp + 0x20], 0
mov dword [esp + 0x2c], esi
test eax, eax
je 0x48cb98
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [ebx + 0x38]
push 0x30
and dword [esp + 0x38], 0
mov ecx, dword [eax + 8]
add ecx, edi
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
sub eax, edi
cdq
pop ecx
idiv ecx
test eax, eax
je 0x48cb6f
xor ecx, ecx
mov esi, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
jmp 0x48c8fd
xor ecx, ecx
mov eax, dword [edi + esi]
cmp eax, 1
je 0x48cab0
cmp eax, 2
je 0x48ca4e
add eax, 0xfffffffd
cmp eax, 1
lea eax, [esi + 4]
ja 0x48c9cd
add eax, edi
mov dword [esp + 0x18], eax
cmp dword [eax + 0x14], 8
jb 0x48c92f
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
mov edx, 0x4e9aa0
mov dword [esp + 0x14], eax
call fcn.004896fb
push 0x2d
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esp + 0x14]
add esi, eax
mov ecx, dword [ebx + 0xc]
add esi, esi
call fcn.004896fb
mov ecx, dword [esp + 0x28]
add eax, esi
mov dword [edi + ecx + 0x24], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x48c97b
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x30]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [esp + 0x28]
lea eax, [esi - 1]
imul esi, dword [esp + 0x38]
push dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
add esi, 2
push dword [edi + eax + 0x24]
xor eax, eax
push esi
mov esi, dword [esp + 0x44]
push dword [esp + 0x40]
cmp dword [edi + esi], 4
sete al
or eax, 0x44010000
push eax
push dword [esp + 0x3c]
push str.Button
push 0
jmp 0x48cb12
add eax, edi
mov dword [esp + 0x18], eax
cmp dword [eax + 0x14], 8
jb 0x48c9db
mov eax, dword [eax]
mov ecx, dword [ebx + 0xc]
mov edx, eax
call fcn.004896fb
mov dword [edi + esi + 0x24], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x48ca00
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x30]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [esp + 0x28]
lea eax, [esi - 5]
imul esi, dword [esp + 0x38]
push dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
add esi, 2
push dword [edi + eax + 0x24]
push esi
push dword [esp + 0x40]
push 0x44000002
push dword [esp + 0x3c]
push 0x4edfb0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [esp + 0x28]
jmp 0x48cb18
mov dword [edi + esi + 0x24], 0x64
mov byte [edi + esi + 0x20], cl
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
add eax, edi
mov dword [esp + 0x14], eax
cmp dword [eax + 0x14], 8
jb 0x48ca76
mov eax, dword [eax]
mov dword [esp + 0x14], eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
push dword [esp + 0x24]
imul eax, dword [esp + 0x3c]
push 0xb4
push dword [edi + esi + 0x24]
add eax, 2
push eax
push dword [esp + 0x40]
push 0x44010042
push dword [esp + 0x38]
push str.ComboBox
jmp 0x48cb0d
mov dword [edi + esi + 0x24], 0x64
mov byte [edi + esi + 0x20], cl
mov eax, dword [ebx + 4]
mov dword [esp + 0x18], eax
lea eax, [esi + 4]
add eax, edi
mov dword [esp + 0x14], eax
cmp dword [eax + 0x14], 8
jb 0x48cad8
mov eax, dword [eax]
mov dword [esp + 0x14], eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
push dword [esp + 0x24]
imul eax, dword [esp + 0x3c]
push 0x1b
push dword [edi + esi + 0x24]
add eax, 2
push eax
push dword [esp + 0x40]
push 0x44010080
push dword [esp + 0x38]
push 0x4ed414
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 4
push eax
mov dword [edi + esi + 0x2c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xc]
push 0x30
pop eax
push eax
push dword [edi + esi + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
pop eax
add esi, eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
inc dword [esp + 0x20]
inc ecx
add dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], ecx
mov edi, dword [eax]
mov eax, dword [eax + 4]
sub eax, edi
mov dword [esp + 0x28], esi
cdq
idiv dword [esp + 0x3c]
cmp ecx, eax
jb 0x48c8fb
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x38]
inc esi
mov edi, dword [esp + 0x30]
push 0xc
pop eax
add edi, eax
mov dword [esp + 0x2c], esi
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
push 0xc
cdq
pop ecx
idiv ecx
mov dword [esp + 0x30], edi
cmp esi, eax
jb 0x48c8c7
cmp byte [esp + 0x1f], 0
je 0x48cba6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
dec dword [ebx + 0x2c]
mov ecx, ebx
call fcn.0048c6a6
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.0040f05a
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 4