Function at 0x45b910
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x497af6
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
push ebx
xor ecx, ecx
lea edx, [esp + 0x2c]
call fcn.0045b5e0
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x45b977
cmp dword [esp + 0x24], eax
jne 0x45b977
mov ecx, dword [esp + 0x40]
push ebx
push str.Invalid_Gui_name.
call fcn.0042f200
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.0045ae20
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x45b9b0
mov ecx, dword [esp + 0x40]
mov edx, esi
push edx
push str.Parameter_1_invalid.
call fcn.0042f200
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 [0x4ad1ec]
mov ecx, dword [0x4ad1f0]
mov dword [esp + 0x28], eax
xor esi, esi
lea eax, [edi - 1]
mov dword [esp + 0x2c], ecx
mov dword [0x4ad1ec], esi
mov dword [0x4ad1f0], esi
mov dword [esp + 0x14], 1
cmp eax, 0x12
ja case.0x45b9ec.2
movzx edx, byte [eax + 0x45c1fc]
jmp dword [edx*4 + 0x45c1e8]
cmp ebp, esi
je 0x45c191
push ebp
call fcn.0045d770
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x45c191
cmp ebp, esi
jne 0x45ba9c
cmp dword [0x4ad1f8], esi
jne 0x45ba37
push 0x41a0
call fcn.00487279
add esp, 4
mov dword [0x4ad1f8], eax
test eax, eax
je 0x45bc55
push 0xc4
call fcn.004887b5
add esp, 4
mov dword [esp + 0x44], eax
xor ebp, ebp
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x45ba5b
mov esi, eax
call fcn.0045b4b0
mov ebp, eax
mov dword [esp + 0x38], 0xffffffff
test ebp, ebp
je 0x45bc55
mov esi, dword [esp + 0x1c]
lea eax, [esi + 1]
push eax
call fcn.00487279
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x45bc4c
mov ecx, dword [esp + 0x24]
push esi
push ecx
push eax
call fcn.0048f9b0
mov edx, dword [ebp]
add esp, 0xc
mov byte [esi + edx], 0
mov eax, dword [0x4a8978]
mov esi, dword [eax + 0x48]
test esi, esi
je 0x45baad
call fcn.0045d9a0
mov ecx, dword [0x4a8978]
inc dword [ebp + 0x20]
mov dword [ecx + 0x48], ebp
jmp 0x45c191
mov edx, dword [esp + 0x20]
push str.LastFoundExist
push edx
call fcn.004870c1
add esp, 8
test eax, eax
jne case.0x45b9ec.2
cmp ebp, esi
je 0x45baeb
mov ebp, dword [ebp + 4]
mov eax, dword [0x4a8978]
mov dword [eax + 0xa4], ebp
jmp 0x45c191
mov eax, dword [0x4a8978]
xor ebp, ebp
mov dword [eax + 0xa4], ebp
jmp 0x45c191
push 0x3a
push ebx
call fcn.004880b1
add esp, 8
test eax, eax
je 0x45bb1b
cmp ebp, esi
je 0x45bb27
push ebp
call fcn.0045d770
add esp, 4
jmp 0x45bb27
xor ebx, ebx
jmp 0x45bb2b
cmp ebp, esi
jne 0x45bc38
mov ebx, dword [esp + 0x1c]
cmp edi, 6
jl 0x45bb42
cmp edi, 0xa
jle 0x45c191
cmp edi, 0x12
je 0x45c191
mov eax, dword [0x4aca70]
cmp dword [0x4aca6c], eax
jne 0x45bb85
lea esi, [eax + eax]
test eax, eax
jne 0x45bb5b
mov esi, 8
mov edx, dword [0x4aca68]
lea ecx, [esi*4]
push ecx
push edx
call fcn.00488667
add esp, 8
test eax, eax
je case.0x45bda8.11
mov dword [0x4aca68], eax
mov dword [0x4aca70], esi
cmp dword [0x4ad1f8], 0
jne 0x45bba8
push 0x41a0
call fcn.00487279
add esp, 4
mov dword [0x4ad1f8], eax
test eax, eax
je 0x45bc55
push 0xc4
call fcn.004887b5
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x45bbd0
mov esi, eax
call fcn.0045b4b0
mov ebp, eax
jmp 0x45bbd2
xor ebp, ebp
mov dword [esp + 0x38], 0xffffffff
test ebp, ebp
je 0x45bc55
push 0x4e20
call fcn.00487279
mov esi, eax
add esp, 4
mov dword [ebp + 0x18], esi
test esi, esi
je 0x45bc4c
lea eax, [ebx + 1]
push eax
call fcn.00487279
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x45bc43
mov ecx, dword [esp + 0x24]
push ebx
push ecx
push eax
call fcn.0048f9b0
mov edx, dword [ebp]
mov eax, dword [0x4aca6c]
mov ecx, dword [0x4aca68]
mov byte [ebx + edx], 0
mov dword [ebp + 0x14], 0x3e8
add esp, 0xc
mov dword [ecx + eax*4], ebp
inc eax
mov dword [0x4aca6c], eax
cmp edi, 1
jne 0x45bc71
mov edi, dword [esp + 0x20]
jmp 0x45bc82
push esi
call fcn.004870d8
add esp, 4
push ebp
call fcn.00486e38
add esp, 4
mov ecx, dword [esp + 0x40]
push 0x49a87d
push str.Out_of_memory.
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
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 0x45bcbe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1b]
push edx
push edi
push ebp
call fcn.00461060
test eax, eax
jne 0x45bcba
mov dword [esp + 0x14], esi
jmp 0x45c191
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 4], esi
jne 0x45bcf3
mov esi, ebp
call fcn.0045da00
test eax, eax
jne 0x45bcf3
push ebp
call fcn.0045d770
mov ecx, dword [esp + 0x44]
add esp, 4
push 0x49a87d
push str.Could_not_create_window.
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
cmp dword [esp + 0x18], 0x13
mov eax, dword [0x4a8978]
jne 0x45bd16
mov esi, dword [eax + 0x48]
test esi, esi
je 0x45bd10
call fcn.0045d9a0
mov eax, dword [0x4a8978]
inc dword [ebp + 0x20]
mov dword [eax + 0x48], ebp
test ebx, ebx
je 0x45bd28
mov ecx, dword [ebp + 4]
push ebx
call fcn.00476700
mov eax, dword [0x4a8978]
test edi, edi
je 0x45bd98
cmp byte [esp + 0x13], 0
je 0x45bd3c
mov ecx, dword [ebp + 4]
mov dword [eax + 0xa4], ecx
cmp dword [esp + 0x24], 0
je 0x45bd6e
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x45bd54
call fcn.0045d9a0
mov eax, dword [0x4a8978]
mov ecx, 1
cmp dword [esp + 0x24], ecx
jne 0x45bd67
add dword [ebp + 0x20], ecx
mov dword [eax + 0x4c], ebp
jmp 0x45bd6e
mov dword [eax + 0x4c], 0
cmp dword [esp + 0x18], 0x13
jne 0x45c191
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45c191
mov ecx, dword [ebp + 4]
mov eax, edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x45c191
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
cmp eax, 0x10
ja case.0x45bda8.11
jmp dword [eax*4 + 0x45c210]
mov esi, dword [esp + 0x44]
call fcn.0045b250
mov byte [esp + 0x44], al
test al, al
jne 0x45bdd8
mov ecx, dword [esp + 0x40]
push esi
push str.Parameter_2_invalid.
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
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.0045df70
mov dword [esp + 0x14], eax
jmp 0x45c191
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
je 0x45be24
mov esi, edx
call fcn.0040e2c0
cmp byte [ebp + 0xc0], 0
je 0x45be21
mov ecx, dword [0x4ad254]
push 0x60
push ecx
push eax
call ebx
mov dword [ebp + 0x78], eax
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45c191
mov esi, edx
call fcn.0040e2c0
cmp byte [ebp + 0xc0], 0
je 0x45be4d
mov ecx, dword [0x4ad254]
push 0x60
push ecx
push eax
call ebx
mov dword [ebp + 0x7c], eax
jmp 0x45c191
mov edx, dword [esp + 0x44]
cmp byte [edx], 0
je 0x45bea2
mov ebx, dword [esp + 0x40]
mov edi, edx
mov eax, ebx
call fcn.0046aa30
mov esi, eax
test esi, esi
je 0x45be8a
cmp esi, dword [0x4ad8dc]
je 0x45be8a
mov eax, 2
mov ecx, esi
call fcn.0046b850
mov eax, dword [esi + 0x20]
jmp 0x45bea6
mov eax, edi
push eax
push str.Menu_does_not_exist.
mov ecx, ebx
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
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 0x45bec2
push esi
mov esi, ebp
call fcn.00469640
jmp 0x45c191
mov esi, ebp
call fcn.00469720
jmp 0x45c191
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push ebp
call fcn.00464370
mov dword [esp + 0x14], eax
jmp 0x45c191
mov edx, dword [esp + 0x44]
push str.NoHide
push edx
call fcn.004870c1
add esp, 8
test eax, eax
setne al
movzx ecx, al
push ecx
mov edi, ebp
call fcn.00464ef0
mov dword [esp + 0x14], eax
jmp 0x45c191
mov eax, ebp
call fcn.00464e60
mov dword [esp + 0x14], eax
jmp 0x45c191
mov edx, dword [ebp + 4]
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c191
mov eax, dword [ebp + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c191
mov ecx, dword [ebp + 4]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c191
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x4c]
mov esi, ebp
call fcn.00465bc0
mov dword [esp + 0x14], eax
jmp 0x45c191
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x45c191
push ebp
call fcn.004659a0
cmp eax, dword [ebp + 0x10]
jae 0x45c191
cmp dword [esp + 0x18], 0xe
mov edx, dword [ebp + 0x18]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
jne 0x45bfaa
cmp byte [eax + 4], 0xa
jne 0x45c191
mov dword [ebp + 0x48], eax
jmp 0x45c191
cmp byte [eax + 4], 0xb
jne 0x45c191
mov dword [ebp + 0x4c], eax
jmp 0x45c191
mov eax, dword [esp + 0x48]
cmp byte [eax], 0
jne 0x45c038
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0
jne 0x45c016
mov dword [esp + 0x24], 0xff
mov eax, dword [esp + 0x24]
mov cl, byte [ebp + 0xb9]
movzx edx, cl
cmp edx, eax
je 0x45c009
mov bl, cl
mov ecx, ebp
call fcn.00468530
test eax, eax
je 0x45bffb
push eax
push ebp
call fcn.00468940
mov al, byte [esp + 0x24]
mov byte [ebp + 0xb9], al
mov byte [ebp + 0x44], 0
mov ecx, dword [esp + 0x44]
cmp byte [ecx], 0
je 0x45c191
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
jne 0x45c06d
cmp byte [ebp + 0xb9], 0xff
jne 0x45c06d
mov al, byte [ebp + 0xb8]
test al, al
je 0x45c065
movzx eax, al
dec eax
jmp 0x45c067
mov esi, eax
call fcn.0040e2c0
dec eax
mov dword [esp + 0x24], eax
js 0x45c04d
cmp eax, 0xfe
jle 0x45bfda
mov ecx, dword [esp + 0x40]
push esi
push str.Parameter_3_invalid.
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
xor eax, eax
mov byte [ebp + 0xb9], al
mov eax, dword [esp + 0x4c]
push str.Exact
push eax
call fcn.004870c1
mov esi, dword [esp + 0x4c]
add esp, 8
test eax, eax
sete al
mov byte [esp + 0x48], al
test al, al
jne 0x45c0db
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.00473f10
add esp, 0x10
test eax, eax
je 0x45c0db
call fcn.0040e2c0
dec eax
js 0x45bdc0
cmp eax, 0xff
jg 0x45bdc0
movzx edx, byte [ebp + 0xba]
cmp edx, eax
je 0x45c191
mov byte [ebp + 0xba], al
mov byte [ebp + 0x44], 0
jmp 0x45c191
mov bl, byte [ebp + 0xb9]
mov ecx, ebp
call fcn.00468530
test eax, eax
je 0x45c0fe
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov ebx, esi
call fcn.00468580
cmp eax, 0xffffffff
jne 0x45c0bd
mov ecx, dword [esp + 0x40]
push esi
push str.Tab_name_doesnt_exist_yet.
call fcn.0042f200
mov dword [esp + 0x14], eax
jmp 0x45c191
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x45c12b
lea ecx, [ebp + 0x58]
lea ebx, [ebp + 0x60]
push ecx
call fcn.00475080
add esp, 4
mov edx, dword [esp + 0x48]
cmp byte [edx], 0
je 0x45c145
lea eax, [ebp + 0x5c]
push eax
lea ebx, [ebp + 0x64]
mov eax, edx
call fcn.00475080
add esp, 4
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45c191
mov edx, dword [ebp + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x45c191
mov eax, dword [esp + 0x44]
push 0x49be94
push eax
call fcn.004870c1
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 0x45c191
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45c1cc
mov eax, dword [0x4ad1ec]
test eax, eax
je 0x45c1bd
push eax
call fcn.004870d8
add esp, 4
cmp dword [0x4ad1f0], 0x400000
jbe 0x45c1bd
dec dword [0x4ad1f4]
mov eax, dword [esp + 0x2c]
mov dword [0x4ad1ec], esi
mov dword [0x4ad1f0], 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