Function at 0x484070
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push esi
push edi
push 0
push eax
mov edi, ecx
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov ecx, ebx
call fcn.00483c50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4840db
cmp dword [ebp - 0x20], eax
jne 0x4840db
push ebx
push str.Invalid_Gui_name.
mov ecx, edi
call fcn.0044dd10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [ebp - 0x28], ebx
call fcn.0042a150
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
jne 0x484112
mov ecx, dword [ebp - 0x14]
push ebx
push str.Parameter_1_invalid.
call fcn.0044dd10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x4fc484]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4fc480]
mov dword [ebp - 0x38], eax
lea eax, [edi - 1]
mov dword [0x4fc484], 0
mov dword [0x4fc480], 0
cmp eax, 0x12
ja case.0x484149.2
movzx eax, byte [eax + 0x484b5c]
jmp dword [eax*4 + 0x484b48]
test esi, esi
je case.0x4842d2.6
mov ecx, esi
call fcn.00486a90
mov esi, eax
jmp 0x4847b4
test esi, esi
jne 0x4841e8
cmp dword [0x4fd1b4], esi
jne 0x48418c
push 0x41a0
call fcn.004c4e35
add esp, 4
mov dword [0x4fd1b4], eax
test eax, eax
je 0x4843ae
push 0xd8
call fcn.004c0946
add esp, 4
mov dword [ebp + 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004837c0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4843ae
mov edi, dword [ebp - 0x1c]
lea eax, [edi + 1]
push eax
call fcn.004c4e35
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4843a0
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push eax
call fcn.004c2440
mov eax, dword [esi]
add esp, 0xc
mov byte [edi + eax], 0
mov eax, dword [0x4f898c]
mov edi, dword [eax + 0x48]
test edi, edi
je 0x484214
add dword [edi + 0x20], 0xffffffff
jne 0x484214
push dword [edi]
call fcn.004c4247
push 0xd8
push edi
call fcn.004c0915
mov eax, dword [0x4f898c]
add esp, 0xc
inc dword [esi + 0x20]
mov dword [eax + 0x48], esi
jmp case.0x4842d2.6
push str.LastFoundExist
push ebx
call fcn.004c408e
add esp, 8
test eax, eax
jne case.0x484149.2
test esi, esi
je 0x48424c
mov eax, dword [0x4f898c]
mov ecx, dword [esi + 4]
mov dword [eax + 0xa4], ecx
jmp case.0x4842d2.6
mov eax, dword [0x4f898c]
xor ecx, ecx
mov dword [eax + 0xa4], ecx
jmp case.0x4842d2.6
push 0x3a
push dword [ebp + 8]
call fcn.004ca733
add esp, 8
test eax, eax
je 0x4842b7
test esi, esi
je 0x4842c3
mov ecx, esi
call fcn.00486a90
mov ebx, dword [ebp - 0x1c]
mov eax, dword [0x4fbb74]
cmp dword [0x4fb960], eax
jne 0x4842e4
lea esi, [eax + eax]
test eax, eax
jne 0x484296
mov esi, 8
lea eax, [esi*4]
push eax
push dword [0x4fb95c]
call fcn.004c4e40
add esp, 8
test eax, eax
jne 0x4842d9
xor esi, esi
jmp 0x4847b4
xor ebx, ebx
jmp 0x48427d
test esi, esi
jne 0x484388
lea eax, [edi - 6]
cmp eax, 0xc
ja case.0x4842d2.11
movzx eax, byte [eax + 0x484b78]
jmp dword [eax*4 + 0x484b70]
mov dword [0x4fb95c], eax
mov dword [0x4fbb74], esi
cmp dword [0x4fd1b4], 0
jne 0x484307
push 0x41a0
call fcn.004c4e35
add esp, 4
mov dword [0x4fd1b4], eax
test eax, eax
je 0x4843ae
push 0xd8
call fcn.004c0946
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004837c0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4843ae
push 0xfa00
call fcn.004c4e35
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x4843a0
lea eax, [ebx + 1]
push eax
call fcn.004c4e35
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x484395
mov ecx, dword [ebp - 0x20]
push ebx
push ecx
push eax
call fcn.004c2440
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [0x4fb960]
mov byte [ebx + eax], 0
mov eax, dword [0x4fb95c]
mov dword [esi + 0x14], 0x3e8
mov dword [eax + ecx*4], esi
inc ecx
mov dword [0x4fb960], ecx
mov ebx, dword [ebp + 0xc]
cmp edi, 1
jne 0x4843c7
mov eax, dword [ebp - 0x2c]
jmp 0x4843d1
push dword [esi + 0x18]
call fcn.004c4247
add esp, 4
push 0xd8
push esi
call fcn.004c0915
add esp, 8
mov ecx, dword [ebp - 0x14]
push 0x4e3371
push str.Out_of_memory.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
cmp edi, 0x13
jne 0x484406
mov eax, ebx
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x48441f
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xd]
push ecx
push eax
mov ecx, esi
call fcn.0048acd0
test eax, eax
jne 0x48441f
xor esi, esi
jmp 0x4847b4
mov dword [ebp - 0x28], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
cmp dword [esi + 4], 0
jne 0x484450
mov ecx, esi
call fcn.00486d10
test eax, eax
jne 0x484450
mov ecx, esi
call fcn.00486a90
mov ecx, dword [ebp - 0x14]
push 0x4e3371
push str.Could_not_create_window.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
mov ecx, dword [0x4f898c]
cmp edi, 0x13
jne 0x48448e
mov eax, dword [ecx + 0x48]
mov dword [ebp + 8], eax
test eax, eax
je 0x484488
add dword [eax + 0x20], 0xffffffff
jne 0x484488
push dword [eax]
call fcn.004c4247
push 0xd8
push dword [ebp + 8]
call fcn.004c0915
mov ecx, dword [0x4f898c]
add esp, 0xc
inc dword [esi + 0x20]
mov dword [ecx + 0x48], esi
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], eax
test eax, eax
je 0x4844c7
push 0x10
lea eax, [ebp - 0x4e]
mov word [ebp - 0x50], 0x7830
push eax
push dword [esi + 4]
call fcn.004c3fed
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x50]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004b01a0
mov ecx, dword [0x4f898c]
cmp dword [ebp - 0x28], 0
je 0x484546
cmp byte [ebp - 0xd], 0
je 0x4844dc
mov eax, dword [esi + 4]
mov dword [ecx + 0xa4], eax
cmp dword [ebp - 0x18], 0
je 0x484522
mov edi, dword [ecx + 0x4c]
test edi, edi
je 0x48450a
add dword [edi + 0x20], 0xffffffff
jne 0x48450a
push dword [edi]
call fcn.004c4247
push 0xd8
push edi
call fcn.004c0915
mov ecx, dword [0x4f898c]
add esp, 0xc
cmp dword [ebp - 0x18], 1
mov edi, dword [ebp - 0x30]
jne 0x48451b
inc dword [esi + 0x20]
mov dword [ecx + 0x4c], esi
jmp 0x484522
mov dword [ecx + 0x4c], 0
cmp edi, 0x13
jne case.0x4842d2.6
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je case.0x4842d2.6
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp case.0x4842d2.6
lea eax, [edi - 2]
cmp eax, 0x10
ja case.0x484552.11
jmp dword [eax*4 + 0x484b88]
mov ecx, ebx
call fcn.0042a670
mov byte [ebp + 8], al
test al, al
jne 0x48457c
mov ecx, dword [ebp - 0x14]
push ebx
push str.Parameter_2_invalid.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00487280
mov esi, eax
jmp 0x4847b4
mov al, byte [ebx]
test al, al
je 0x484614
mov ecx, ebx
nop dword [eax + eax]
cmp al, 0x20
je 0x4845a8
cmp al, 9
jne 0x4845ae
mov al, byte [ecx + 1]
inc ecx
jmp 0x4845a0
test al, al
je 0x4845f0
cmp al, 0x2d
je 0x4845ba
cmp al, 0x2b
jne 0x4845c1
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4845f0
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4845d0
cmp al, 0x58
jne 0x4845f0
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x4845f0
push 0x10
push 0
push ebx
call fcn.004c4d25
add esp, 0xc
jmp 0x4845f9
push ebx
call fcn.004c4df6
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x484611
push 0x60
push dword [0x4fda58]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x78], eax
mov edi, dword [ebp + 0x10]
mov al, byte [edi]
test al, al
je case.0x4842d2.6
mov ecx, edi
cmp al, 0x20
je 0x48462b
cmp al, 9
jne 0x484631
mov al, byte [ecx + 1]
inc ecx
jmp 0x484623
test al, al
je 0x484673
cmp al, 0x2d
je 0x48463d
cmp al, 0x2b
jne 0x484644
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x484673
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x484653
cmp al, 0x58
jne 0x484673
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x484673
push 0x10
push 0
push edi
call fcn.004c4d25
add esp, 0xc
jmp 0x48467c
push edi
call fcn.004c4df6
add esp, 4
cmp byte [esi + 0xc8], 0
je 0x484694
push 0x60
push dword [0x4fda58]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x7c], eax
jmp case.0x4842d2.6
cmp byte [ebx], 0
je 0x484745
mov edi, dword [ebp - 0x14]
mov edi, dword [edi + 0x600]
test edi, edi
je 0x4846c6
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4846db
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4846b2
mov ecx, dword [ebp - 0x14]
push ebx
push str.Menu_does_not_exist.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
cmp edi, dword [0x4fe11c]
je 0x4846c6
push 2
mov ecx, edi
call fcn.004997e0
push dword [edi + 0x20]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x48470d
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [esi + 0x74], 0
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
lea eax, [ebp - 0x350]
mov ecx, esi
push eax
push edi
call fcn.00497270
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x4842d2.6
push eax
lea eax, [ebp - 0x350]
push eax
call dword [sym.imp.USER32.dll_CreateAcceleratorTableA]
mov dword [esi + 0x74], eax
jmp case.0x4842d2.6
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0x74]
test eax, eax
je case.0x4842d2.6
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
mov dword [esi + 0x74], 0
jmp case.0x4842d2.6
push dword [ebp + 0x10]
mov ecx, esi
push ebx
call fcn.00490350
mov esi, eax
jmp 0x4847b4
push str.NoHide
push ebx
call fcn.004c408e
add esp, 8
mov ecx, esi
test eax, eax
setne al
movzx eax, al
push eax
call fcn.00491240
mov esi, eax
jmp 0x4847b4
mov eax, dword [esi + 4]
test eax, eax
je case.0x4842d2.6
push 0
push eax
jmp 0x4847a9
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, 1
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x4847ed
mov eax, dword [0x4fc484]
test eax, eax
je 0x4847df
push eax
call fcn.004c4247
add esp, 4
cmp dword [0x4fc480], 0x400000
jbe 0x4847df
dec dword [0x4fc47c]
mov eax, dword [ebp - 0x38]
mov dword [0x4fc484], edi
mov dword [0x4fc480], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 3
jmp 0x4847a6
push 9
jmp 0x4847a6
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
imul eax, dword [esi + 0x50], 0x54
mov ecx, ebx
add eax, dword [0x4fd1b4]
push eax
call fcn.00492a60
mov ecx, dword [ebp + 8]
add esp, 8
cmp ecx, 0xffffffff
je 0x484831
mov dword [esi + 0x54], ecx
cmp eax, 0xffffffff
jle case.0x484552.11
mov dword [esi + 0x50], eax
jmp case.0x4842d2.6
cmp byte [ebx], 0
je case.0x4842d2.6
push ebx
mov ecx, esi
call fcn.004928b0
cmp eax, dword [esi + 0x10]
jae case.0x4842d2.6
shl eax, 6
add eax, dword [esi + 0x18]
mov cl, byte [eax + 4]
cmp edi, 0xe
jne 0x48487b
cmp cl, 0xa
jne case.0x4842d2.6
mov dword [esi + 0x48], eax
jmp case.0x4842d2.6
cmp cl, 0xb
jne case.0x4842d2.6
mov dword [esi + 0x4c], eax
jmp case.0x4842d2.6
mov edi, dword [ebp + 0x10]
mov al, byte [edi]
test al, al
jne 0x4848a6
cmp byte [ebx], al
jne 0x48497c
mov dword [ebp + 0x10], 0xff
jmp 0x484918
mov ecx, edi
cmp al, 0x20
je 0x4848b0
cmp al, 9
jne 0x4848b6
mov al, byte [ecx + 1]
inc ecx
jmp 0x4848a8
test al, al
je 0x4848f8
cmp al, 0x2d
je 0x4848c2
cmp al, 0x2b
jne 0x4848c9
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4848f8
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4848d8
cmp al, 0x58
jne 0x4848f8
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x4848f8
push 0x10
push 0
push edi
call fcn.004c4d25
add esp, 0xc
jmp 0x484901
push edi
call fcn.004c4df6
add esp, 4
add eax, 0xffffffff
mov dword [ebp + 0x10], eax
js 0x484abd
cmp eax, 0xfe
jg 0x484abd
mov ch, byte [esi + 0xc1]
movzx eax, ch
cmp eax, dword [ebp + 0x10]
je 0x484973
cmp ch, 0xff
je 0x484966
xor eax, eax
xor cl, cl
cmp dword [esi + 0x10], eax
jbe 0x484966
mov edx, dword [esi + 0x18]
add edx, 4
nop word [eax + eax]
cmp byte [edx], 0x13
jne 0x48494b
cmp cl, ch
je 0x484956
inc cl
inc eax
add edx, 0x40
cmp eax, dword [esi + 0x10]
jb 0x484940
jmp 0x484966
shl eax, 6
add eax, dword [esi + 0x18]
je 0x484966
push eax
mov ecx, esi
call fcn.00496520
mov eax, dword [ebp + 0x10]
mov byte [esi + 0xc1], al
mov byte [esi + 0x44], 0
cmp byte [ebx], 0
je case.0x4842d2.6
cmp byte [edi], 0
jne 0x4849a0
cmp byte [esi + 0xc1], 0xff
jne 0x4849a0
mov al, byte [esi + 0xc0]
test al, al
je 0x484998
dec al
jmp 0x48499a
xor al, al
mov byte [esi + 0xc1], al
push str.Exact
push dword [ebp + 0x14]
call fcn.004c408e
add esp, 8
test eax, eax
sete byte [ebp + 0x10]
test eax, eax
je 0x484a43
push 0
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.004ab8c0
add esp, 0xc
test eax, eax
je 0x484a43
mov ecx, ebx
mov al, byte [ecx]
cmp al, 0x20
je 0x4849e0
cmp al, 9
jne 0x4849e3
inc ecx
jmp 0x4849d6
test al, al
je 0x484a25
cmp al, 0x2d
je 0x4849ef
cmp al, 0x2b
jne 0x4849f6
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x484a25
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x484a05
cmp al, 0x58
jne 0x484a25
movsx eax, byte [ecx + 2]
push eax
call fcn.004c4410
add esp, 4
test eax, eax
je 0x484a25
push 0x10
push 0
push ebx
call fcn.004c4d25
add esp, 0xc
jmp 0x484a2e
push ebx
call fcn.004c4df6
add esp, 4
add eax, 0xffffffff
js 0x484567
cmp eax, 0xff
jle 0x484a9f
jmp 0x484567
mov ch, byte [esi + 0xc1]
cmp ch, 0xff
je 0x484a73
mov edi, dword [esi + 0x10]
xor cl, cl
xor eax, eax
test edi, edi
je 0x484a73
mov edx, dword [esi + 0x18]
add edx, 4
nop
cmp byte [edx], 0x13
jne 0x484a6b
cmp cl, ch
je 0x484a88
inc cl
inc eax
add edx, 0x40
cmp eax, edi
jb 0x484a60
mov ecx, dword [ebp - 0x14]
push ebx
push str.Tab_name_doesnt_exist_yet.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
shl eax, 6
add eax, dword [esi + 0x18]
je 0x484a73
push dword [ebp + 0x10]
push ebx
push eax
call fcn.004960b0
cmp eax, 0xffffffff
je 0x484a73
movzx ecx, byte [esi + 0xc2]
cmp ecx, eax
je case.0x4842d2.6
mov byte [esi + 0xc2], al
mov byte [esi + 0x44], 0
jmp case.0x4842d2.6
mov ecx, dword [ebp - 0x14]
push edi
push str.Parameter_3_invalid.
call fcn.0044dd10
mov esi, eax
jmp 0x4847b4
cmp byte [ebx], 0
je 0x484ae8
lea eax, [esi + 0x60]
mov ecx, ebx
push eax
lea edx, [esi + 0x58]
call fcn.004aca80
add esp, 4
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
je 0x484aff
lea eax, [esi + 0x64]
push eax
lea edx, [esi + 0x5c]
call fcn.004aca80
add esp, 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x4842d2.6
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x4842d2.6
push 0x4e8db0
push ebx
call fcn.004c408e
add esp, 8
neg eax
sbb eax, eax
neg eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_FlashWindow]
jmp case.0x4842d2.6