Function at 0x458b90
Capabilities:
Check os version
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x496d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x10]
push esi
push edi
push 0
push eax
mov ebx, ecx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov ecx, ebp
call fcn.00458880
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x458bfe
cmp dword [esp + 0x1c], eax
jne 0x458bfe
push ebp
push str.Invalid_Gui_name.
mov ecx, ebx
call fcn.0042ce80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov edi, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x24], edi
call fcn.00457fc0
mov ebp, eax
test ebp, ebp
jne 0x458c35
push edi
push str.Parameter_1_invalid.
mov ecx, ebx
call fcn.0042ce80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov eax, dword [0x4adbd0]
mov ebx, 1
mov dword [esp + 0x28], eax
mov eax, dword [0x4adbcc]
mov dword [esp + 0x2c], eax
lea eax, [ebp - 1]
mov dword [0x4adbd0], 0
mov dword [0x4adbcc], 0
cmp eax, 0x12
ja case.0x458c73.2
movzx eax, byte [eax + 0x459420]
jmp dword [eax*4 + 0x45940c]
test esi, esi
je 0x4593b8
mov ecx, esi
call fcn.0045a960
mov ebx, eax
jmp 0x4593b8
test esi, esi
jne 0x458d23
cmp dword [0x4ae904], esi
jne 0x458cba
push 0x41a0
call fcn.00484535
add esp, 4
mov dword [0x4ae904], eax
test eax, eax
je 0x458edf
push 0xc4
call fcn.00486a2a
add esp, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], 0
test eax, eax
je 0x458ce2
mov ecx, eax
call fcn.004586b0
mov esi, eax
jmp 0x458ce4
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x458edf
mov edi, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
call fcn.00484535
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x458ed6
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push eax
call fcn.0048cfd0
mov eax, dword [esi]
add esp, 0xc
mov byte [edi + eax], 0
mov eax, dword [0x4aa1d8]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x458d39
call fcn.0045aba0
mov eax, dword [0x4aa1d8]
inc dword [esi + 0x20]
mov dword [eax + 0x48], esi
jmp 0x4593b8
push str.LastFoundExist
push edi
call fcn.00484212
add esp, 8
test eax, eax
jne case.0x458c73.2
test esi, esi
je 0x458d6d
mov eax, dword [0x4aa1d8]
mov ecx, dword [esi + 4]
mov dword [eax + 0xa4], ecx
jmp 0x4593b8
mov eax, dword [0x4aa1d8]
xor ecx, ecx
mov dword [eax + 0xa4], ecx
jmp 0x4593b8
push 0x3a
push dword [esp + 0x44]
call fcn.004855e4
add esp, 8
test eax, eax
je 0x458d9e
test esi, esi
je 0x458daa
mov ecx, esi
call fcn.0045a960
jmp 0x458daa
xor edi, edi
jmp 0x458dae
test esi, esi
jne 0x458ebb
mov edi, dword [esp + 0x18]
cmp ebp, 6
jl 0x458dc5
cmp ebp, 0xa
jle 0x4593b8
cmp ebp, 0x12
je 0x4593b8
mov eax, dword [0x4ad2a4]
cmp dword [0x4ad0d8], eax
jne 0x458e07
lea esi, [eax + eax]
test eax, eax
jne 0x458dde
mov esi, 8
lea eax, [esi*4]
push eax
push dword [0x4ad0d4]
call fcn.00485cbd
add esp, 8
test eax, eax
je case.0x45901e.11
mov dword [0x4ad0d4], eax
mov dword [0x4ad2a4], esi
cmp dword [0x4ae904], 0
jne 0x458e2a
push 0x41a0
call fcn.00484535
add esp, 4
mov dword [0x4ae904], eax
test eax, eax
je 0x458edf
push 0xc4
call fcn.00486a2a
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x458e52
mov ecx, eax
call fcn.004586b0
mov esi, eax
jmp 0x458e54
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
test esi, esi
je 0x458edf
push 0x4e20
call fcn.00484535
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esi + 0x18], eax
test eax, eax
je 0x458ed6
lea ecx, [edi + 1]
push ecx
call fcn.00484535
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x458eca
mov ecx, dword [esp + 0x1c]
push edi
push ecx
push eax
call fcn.0048cfd0
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [0x4ad0d8]
mov byte [edi + eax], 0
mov eax, dword [0x4ad0d4]
mov dword [esi + 0x14], 0x3e8
mov dword [eax + ecx*4], esi
inc ecx
mov dword [0x4ad0d8], ecx
mov edi, dword [esp + 0x44]
cmp ebp, 1
jne 0x458ef9
mov eax, dword [esp + 0x20]
jmp 0x458f05
push dword [esp + 0x40]
call fcn.004843d4
add esp, 4
push esi
call fcn.00477a10
add esp, 4
mov ecx, dword [esp + 0x14]
push 0x49bc4d
push str.Out_of_memory.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
xor eax, eax
cmp ebp, 0x13
cmove eax, edi
mov dword [esp + 0x24], eax
mov byte [esp + 0x40], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x44], 0
test eax, eax
je 0x458f3d
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
mov ecx, esi
call fcn.0045e670
test eax, eax
je case.0x45901e.11
cmp dword [esi + 4], 0
jne 0x458f6f
mov ecx, esi
call fcn.0045ac10
test eax, eax
jne 0x458f6f
mov ecx, esi
call fcn.0045a960
mov ecx, dword [esp + 0x14]
push 0x49bc4d
push str.Could_not_create_window.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
mov edx, dword [0x4aa1d8]
cmp ebp, 0x13
jne 0x458f92
mov ecx, dword [edx + 0x48]
test ecx, ecx
je 0x458f8c
call fcn.0045aba0
mov edx, dword [0x4aa1d8]
inc dword [esi + 0x20]
mov dword [edx + 0x48], esi
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x458fa8
push dword [esi + 4]
call fcn.00473c70
mov edx, dword [0x4aa1d8]
cmp dword [esp + 0x24], 0
je 0x459012
cmp byte [esp + 0x40], 0
je 0x458fbf
mov eax, dword [esi + 4]
mov dword [edx + 0xa4], eax
mov edi, dword [esp + 0x20]
test edi, edi
je 0x458fed
mov ecx, dword [edx + 0x4c]
test ecx, ecx
je 0x458fd9
call fcn.0045aba0
mov edx, dword [0x4aa1d8]
cmp edi, 1
jne 0x458fe6
inc dword [esi + 0x20]
mov dword [edx + 0x4c], esi
jmp 0x458fed
mov dword [edx + 0x4c], 0
cmp ebp, 0x13
jne 0x4593b8
mov eax, dword [esp + 0x48]
cmp byte [eax], 0
je 0x4593b8
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x4593b8
lea eax, [ebp - 2]
cmp eax, 0x10
ja case.0x45901e.11
jmp dword [eax*4 + 0x459434]
mov ecx, edi
call fcn.00458430
mov byte [esp + 0x40], al
test al, al
jne 0x45904a
mov ecx, dword [esp + 0x14]
push edi
push str.Parameter_2_invalid.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
push dword [esp + 0x4c]
mov ecx, esi
push dword [esp + 0x4c]
push dword [esp + 0x48]
call fcn.0045b110
mov ebx, eax
jmp 0x4593b8
cmp byte [edi], 0
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x45908d
mov ecx, edi
call fcn.0040dd10
cmp byte [esi + 0xc0], 0
je 0x45908a
push 0x60
push dword [0x4ae95c]
push eax
call ebp
mov dword [esi + 0x78], eax
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0
je 0x4593b8
call fcn.0040dd10
cmp byte [esi + 0xc0], 0
je 0x4590b3
push 0x60
push dword [0x4ae95c]
push eax
call ebp
mov dword [esi + 0x7c], eax
jmp 0x4593b8
cmp byte [edi], 0
je 0x4590fc
mov ecx, dword [esp + 0x14]
push edi
call fcn.00467d10
mov ebp, eax
test ebp, ebp
je 0x4590e6
cmp ebp, dword [0x4af01c]
je 0x4590e6
push 2
mov ecx, ebp
call fcn.00468b80
mov eax, dword [ebp + 0x20]
jmp 0x459100
mov ecx, dword [esp + 0x14]
push edi
push str.Menu_does_not_exist.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
xor ebp, ebp
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, esi
test ebp, ebp
je 0x45911b
push ebp
call fcn.00466940
jmp 0x4593b8
call fcn.00466a20
jmp 0x4593b8
push dword [esp + 0x48]
mov ecx, esi
push edi
call fcn.00461770
mov ebx, eax
jmp 0x4593b8
push str.NoHide
push edi
call fcn.00484212
add esp, 8
mov ecx, esi
test eax, eax
setne al
movzx eax, al
push eax
call fcn.004622b0
mov ebx, eax
jmp 0x4593b8
mov ecx, esi
call fcn.00462220
mov ebx, eax
jmp 0x4593b8
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4593b8
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4593b8
push 9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4593b8
push dword [esp + 0x48]
mov ecx, esi
push edi
call fcn.00462fd0
mov ebx, eax
jmp 0x4593b8
cmp byte [edi], 0
je 0x4593b8
push edi
mov ecx, esi
call fcn.00462dd0
cmp eax, dword [esi + 0x10]
jae 0x4593b8
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*4]
cmp ebp, 0xe
jne 0x4591e8
cmp byte [eax + 4], 0xa
jne 0x4593b8
mov dword [esi + 0x48], eax
jmp 0x4593b8
cmp byte [eax + 4], 0xb
jne 0x4593b8
mov dword [esi + 0x4c], eax
jmp 0x4593b8
mov ebp, dword [esp + 0x48]
cmp byte [ebp], 0
jne 0x459214
cmp byte [edi], 0
jne 0x45926c
mov ecx, 0xff
mov dword [esp + 0x48], ecx
jmp 0x459234
mov ecx, ebp
call fcn.0040dd10
mov ecx, eax
dec ecx
mov dword [esp + 0x48], ecx
js 0x459338
cmp ecx, 0xfe
jg 0x459338
mov dl, byte [esi + 0xb9]
movzx eax, dl
cmp eax, ecx
je 0x459263
push edx
mov ecx, esi
call fcn.00465860
test eax, eax
je 0x459255
push eax
mov ecx, esi
call fcn.00465c80
mov eax, dword [esp + 0x48]
mov byte [esi + 0xb9], al
mov byte [esi + 0x44], 0
cmp byte [edi], 0
je 0x4593b8
cmp byte [ebp], 0
jne 0x459293
cmp byte [esi + 0xb9], 0xff
jne 0x459293
mov al, byte [esi + 0xb8]
test al, al
je 0x45928b
movzx eax, al
dec eax
jmp 0x45928d
xor eax, eax
mov byte [esi + 0xb9], al
push str.Exact
push dword [esp + 0x50]
call fcn.00484212
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x48], al
test al, al
jne 0x4592e1
push 0
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.00471460
add esp, 0xc
test eax, eax
je 0x4592e1
mov ecx, edi
call fcn.0040dd10
dec eax
js 0x459034
cmp eax, 0xff
jle 0x459304
jmp 0x459034
movzx eax, byte [esi + 0xb9]
mov ecx, esi
push eax
call fcn.00465860
test eax, eax
je 0x459322
push dword [esp + 0x48]
push edi
push eax
call fcn.004658b0
cmp eax, 0xffffffff
je 0x459322
movzx ecx, byte [esi + 0xba]
cmp ecx, eax
je 0x4593b8
mov byte [esi + 0xba], al
mov byte [esi + 0x44], 0
jmp 0x4593b8
mov ecx, dword [esp + 0x14]
push edi
push str.Tab_name_doesnt_exist_yet.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
mov ecx, dword [esp + 0x14]
push ebp
push str.Parameter_3_invalid.
call fcn.0042ce80
mov ebx, eax
jmp 0x4593b8
cmp byte [edi], 0
je 0x459361
lea eax, [esi + 0x60]
mov ecx, edi
push eax
lea edx, [esi + 0x58]
call fcn.00472650
add esp, 4
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0
je 0x459379
lea eax, [esi + 0x64]
push eax
lea edx, [esi + 0x5c]
call fcn.00472650
add esp, 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4593b8
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4593b8
push 0x49e62c
push edi
call fcn.00484212
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FlashWindow]
jmp 0x4593b8
xor ebx, ebx
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4593f3
mov eax, dword [0x4adbd0]
test eax, eax
je 0x4593e4
push eax
call fcn.004843d4
add esp, 4
cmp dword [0x4adbcc], 0x400000
jbe 0x4593e4
dec dword [0x4adbc8]
mov eax, dword [esp + 0x2c]
mov dword [0x4adbd0], esi
mov dword [0x4adbcc], eax
mov ecx, dword [esp + 0x30]
mov eax, ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x10