Function at 0x45a200
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x495b96
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
xor ecx, ecx
call fcn.00459ed0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x45a268
cmp dword [esp + 0x24], eax
jne 0x45a268
mov ecx, dword [esp + 0x40]
push ebx
push str.Invalid_Gui_name.
call fcn.0042d760
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov esi, dword [esp + 0x20]
call fcn.00459710
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x45a2a1
mov ecx, dword [esp + 0x40]
mov eax, esi
push eax
push str.Parameter_1_invalid.
call fcn.0042d760
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x10
mov ecx, dword [0x4ac1d8]
mov edx, dword [0x4ac1dc]
xor esi, esi
lea eax, [edi - 1]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [0x4ac1d8], esi
mov dword [0x4ac1dc], esi
mov dword [esp + 0x14], 1
cmp eax, 0x12
ja case.0x45a2de.2
movzx eax, byte [eax + 0x45aab4]
jmp dword [eax*4 + 0x45aaa0]
cmp ebp, esi
je 0x45a525
push ebp
call fcn.0045bfd0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x45a525
cmp ebp, esi
jne 0x45a360
push 0xc4
call fcn.004873b0
add esp, 4
mov dword [esp + 0x44], eax
xor ebp, ebp
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x45a327
mov esi, eax
call fcn.00459da0
mov ebp, eax
mov dword [esp + 0x38], 0xffffffff
test ebp, ebp
je 0x45a38c
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
call fcn.00485309
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x45a383
mov edx, dword [esp + 0x24]
push esi
push edx
push eax
call fcn.0048da50
mov eax, dword [ebp]
add esp, 0xc
mov byte [esi + eax], 0
mov ecx, dword [0x4a6920]
mov esi, dword [ecx + 0x48]
test esi, esi
je 0x45a372
call fcn.0045c200
mov edx, dword [0x4a6920]
inc dword [ebp + 0x20]
mov dword [edx + 0x48], ebp
jmp 0x45a525
push ebp
call fcn.00484ec8
add esp, 4
mov ecx, dword [esp + 0x40]
push 0x498811
push str.Out_of_memory.
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
mov eax, dword [esp + 0x20]
push str.LastFoundExist
push eax
call fcn.00485151
add esp, 8
test eax, eax
jne case.0x45a2de.2
cmp ebp, esi
je 0x45a3d6
mov ebp, dword [ebp + 4]
mov ecx, dword [0x4a6920]
mov dword [ecx + 0xa4], ebp
jmp 0x45a525
mov ecx, dword [0x4a6920]
xor ebp, ebp
mov dword [ecx + 0xa4], ebp
jmp 0x45a525
push 0x3a
push ebx
call fcn.00486141
add esp, 8
test eax, eax
je 0x45a407
cmp ebp, esi
je 0x45a413
push ebp
call fcn.0045bfd0
add esp, 4
jmp 0x45a413
xor ebx, ebx
jmp 0x45a417
cmp ebp, esi
jne 0x45a500
mov ebx, dword [esp + 0x1c]
cmp edi, 6
jl 0x45a42e
cmp edi, 0xa
jle 0x45a525
cmp edi, 0x12
je 0x45a525
mov eax, dword [0x4aa9cc]
cmp dword [0x4aa9c8], eax
jne 0x45a470
lea esi, [eax + eax]
test eax, eax
jne 0x45a447
mov esi, 8
mov eax, dword [0x4aa3d4]
lea edx, [esi*4]
push edx
push eax
call fcn.004866f7
add esp, 8
test eax, eax
je case.0x45a6b0.11
mov dword [0x4aa3d4], eax
mov dword [0x4aa9cc], esi
push 0xc4
call fcn.004873b0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x45a498
mov esi, eax
call fcn.00459da0
mov ebp, eax
jmp 0x45a49a
xor ebp, ebp
mov dword [esp + 0x38], 0xffffffff
test ebp, ebp
je case.0x45a6b0.11
push 0x4e20
call fcn.00485309
mov esi, eax
add esp, 4
mov dword [ebp + 0x18], esi
test esi, esi
je 0x45a514
lea ecx, [ebx + 1]
push ecx
call fcn.00485309
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x45a50b
mov edx, dword [esp + 0x24]
push ebx
push edx
push eax
call fcn.0048da50
mov eax, dword [ebp]
mov ecx, dword [0x4aa3d4]
mov byte [ebx + eax], 0
mov eax, dword [0x4aa9c8]
mov dword [ebp + 0x14], 0x3e8
add esp, 0xc
mov dword [ecx + eax*4], ebp
inc eax
mov dword [0x4aa9c8], eax
cmp edi, 1
jne 0x45a579
mov edi, dword [esp + 0x20]
jmp 0x45a58a
push esi
call fcn.00485168
add esp, 4
push ebp
call fcn.00484ec8
add esp, 4
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45a560
mov eax, dword [0x4ac1d8]
test eax, eax
je 0x45a551
push eax
call fcn.00485168
add esp, 4
cmp dword [0x4ac1dc], 0x400000
jbe 0x45a551
dec dword [0x4ac1e0]
mov eax, dword [esp + 0x2c]
mov dword [0x4ac1d8], esi
mov dword [0x4ac1dc], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x10
xor edx, edx
cmp dword [esp + 0x18], 0x13
setne dl
lea edi, [edx - 1]
and edi, dword [esp + 0x44]
xor esi, esi
xor ebx, ebx
mov byte [esp + 0x13], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
cmp edi, esi
je 0x45a5c6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1b]
push edx
push edi
push ebp
call fcn.0045f880
test eax, eax
jne 0x45a5c2
mov dword [esp + 0x14], esi
jmp 0x45a525
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 4], esi
jne 0x45a5fb
mov esi, ebp
call fcn.0045c260
test eax, eax
jne 0x45a5fb
push ebp
call fcn.0045bfd0
mov ecx, dword [esp + 0x44]
add esp, 4
push 0x498811
push str.Could_not_create_window.
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
cmp dword [esp + 0x18], 0x13
mov eax, dword [0x4a6920]
jne 0x45a61e
mov esi, dword [eax + 0x48]
test esi, esi
je 0x45a618
call fcn.0045c200
mov eax, dword [0x4a6920]
inc dword [ebp + 0x20]
mov dword [eax + 0x48], ebp
test ebx, ebx
je 0x45a630
mov ecx, dword [ebp + 4]
push ebx
call fcn.004747c0
mov eax, dword [0x4a6920]
test edi, edi
je 0x45a6a0
cmp byte [esp + 0x13], 0
je 0x45a644
mov ecx, dword [ebp + 4]
mov dword [eax + 0xa4], ecx
cmp dword [esp + 0x24], 0
je 0x45a676
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x45a65c
call fcn.0045c200
mov eax, dword [0x4a6920]
mov ecx, 1
cmp dword [esp + 0x24], ecx
jne 0x45a66f
add dword [ebp + 0x20], ecx
mov dword [eax + 0x4c], ebp
jmp 0x45a676
mov dword [eax + 0x4c], 0
cmp dword [esp + 0x18], 0x13
jne 0x45a525
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45a525
mov ecx, dword [ebp + 4]
mov eax, edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x45a525
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
cmp eax, 0x10
ja case.0x45a6b0.11
jmp dword [eax*4 + 0x45aac8]
mov esi, dword [esp + 0x44]
call fcn.00459b40
mov byte [esp + 0x44], al
test al, al
jne 0x45a6e0
mov ecx, dword [esp + 0x40]
push esi
push str.Parameter_2_invalid.
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push ebp
call fcn.0045c7d0
mov dword [esp + 0x14], eax
jmp 0x45a525
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x45a72c
mov esi, edx
call fcn.0040ce80
cmp byte [ebp + 0xc0], 0
je 0x45a729
mov ecx, dword [0x4ac23c]
push 0x60
push ecx
push eax
call ebx
mov dword [ebp + 0x78], eax
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45a525
mov esi, edx
call fcn.0040ce80
cmp byte [ebp + 0xc0], 0
je 0x45a755
mov ecx, dword [0x4ac23c]
push 0x60
push ecx
push eax
call ebx
mov dword [ebp + 0x7c], eax
jmp 0x45a525
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
je 0x45a7aa
mov ebx, dword [esp + 0x40]
mov edi, edx
mov eax, ebx
call fcn.00469350
mov esi, eax
test esi, esi
je 0x45a792
cmp esi, dword [0x4ac8ec]
je 0x45a792
mov eax, 2
mov ecx, esi
call fcn.0046a0d0
mov eax, dword [esi + 0x20]
jmp 0x45a7ae
mov eax, edi
push eax
push str.Menu_does_not_exist.
mov ecx, ebx
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
xor esi, esi
xor eax, eax
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
test esi, esi
je 0x45a7ca
push esi
mov esi, ebp
call fcn.00468010
jmp 0x45a525
mov esi, ebp
call fcn.004680f0
jmp 0x45a525
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ebp
call fcn.00462ba0
mov dword [esp + 0x14], eax
jmp 0x45a525
mov edx, dword [esp + 0x44]
push str.NoHide
push edx
call fcn.00485151
add esp, 8
test eax, eax
setne al
movzx ecx, al
push ecx
mov edi, ebp
call fcn.00463670
mov dword [esp + 0x14], eax
jmp 0x45a525
mov eax, ebp
call fcn.004635e0
mov dword [esp + 0x14], eax
jmp 0x45a525
mov edx, dword [ebp + 4]
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a525
mov eax, dword [ebp + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a525
mov ecx, dword [ebp + 4]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45a525
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
mov esi, ebp
call fcn.00464510
mov dword [esp + 0x14], eax
jmp 0x45a525
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x45a525
mov ecx, eax
push ecx
push ebp
call fcn.004642e0
cmp eax, dword [ebp + 0x10]
jae 0x45a525
cmp dword [esp + 0x18], 0xe
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x18]
lea eax, [eax + edx*4]
jne 0x45a8b5
cmp byte [eax + 4], 0xa
jne 0x45a525
mov dword [ebp + 0x48], eax
jmp 0x45a525
cmp byte [eax + 4], 0xb
jne 0x45a525
mov dword [ebp + 0x4c], eax
jmp 0x45a525
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0
jne 0x45a941
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
jne 0x45a91f
mov dword [esp + 0x24], 0xff
mov eax, dword [esp + 0x24]
mov bl, byte [ebp + 0xb9]
movzx ecx, bl
cmp ecx, eax
je 0x45a912
mov ecx, ebp
call fcn.00466f40
test eax, eax
je 0x45a904
push eax
push ebp
call fcn.00467350
mov dl, byte [esp + 0x24]
mov byte [ebp + 0xb9], dl
mov byte [ebp + 0x44], 0
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x45a525
mov ecx, dword [esp + 0x48]
cmp byte [ecx], 0
jne 0x45a976
cmp byte [ebp + 0xb9], 0xff
jne 0x45a976
mov al, byte [ebp + 0xb8]
test al, al
je 0x45a96e
movzx eax, al
dec eax
jmp 0x45a970
mov esi, ecx
call fcn.0040ce80
dec eax
mov dword [esp + 0x24], eax
js 0x45a956
cmp eax, 0xfe
jle 0x45a8e5
mov ecx, dword [esp + 0x40]
push esi
push str.Parameter_3_invalid.
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
xor eax, eax
mov byte [ebp + 0xb9], al
mov edx, dword [esp + 0x4c]
push str.Exact
push edx
call fcn.00485151
mov esi, dword [esp + 0x4c]
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x48], al
test al, al
jne 0x45a9e4
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.004721a0
add esp, 0x10
test eax, eax
je 0x45a9e4
call fcn.0040ce80
dec eax
js 0x45a6c8
cmp eax, 0xff
jg 0x45a6c8
movzx edx, byte [ebp + 0xba]
cmp edx, eax
je 0x45a525
mov byte [ebp + 0xba], al
mov byte [ebp + 0x44], 0
jmp 0x45a525
mov bl, byte [ebp + 0xb9]
mov ecx, ebp
call fcn.00466f40
test eax, eax
je 0x45aa07
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ebx, esi
call fcn.00466f90
cmp eax, 0xffffffff
jne 0x45a9c6
mov ecx, dword [esp + 0x40]
push esi
push str.Tab_name_doesnt_exist_yet.
call fcn.0042d760
mov dword [esp + 0x14], eax
jmp 0x45a525
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x45aa37
lea ecx, [ebp + 0x58]
lea ebx, [ebp + 0x60]
push ecx
call fcn.00473320
add esp, 4
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45aa51
lea eax, [ebp + 0x5c]
push eax
lea ebx, [ebp + 0x64]
mov eax, edx
call fcn.00473320
add esp, 4
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45a525
mov edx, dword [ebp + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x45a525
mov eax, dword [esp + 0x44]
push 0x499e1c
push eax
call fcn.00485151
mov edx, dword [ebp + 4]
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
push ecx
push edx
call dword [sym.imp.USER32.dll_FlashWindow]
jmp 0x45a525