Function at 0x4ce470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xfff0
cmp eax, 0xf020
jl 0x4ce86a
sub eax, 0xf020
je 0x4ce5d0
sub eax, 0xe0
je 0x4ce4b2
sub eax, 0x20
je 0x4ce774
jmp 0x4ce86a
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
test eax, eax
je 0x4ce86a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp eax, 0x20
je 0x4ce86a
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
call fcn.00412600
mov dword [ebp - 8], eax
test eax, eax
je 0x4ce86a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x4ce502
mov eax, dword [ebp - 8]
test dword [eax + 0x28], 0x10
je 0x4ce86a
mov eax, dword [0x55ae50]
test eax, eax
je 0x4ce86a
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
test eax, eax
je 0x4ce86a
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
cmp eax, dword [ebp - 8]
je 0x4ce86a
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
call fcn.00505470
test al, al
je 0x4ce86a
mov eax, dword [0x55ae50]
call fcn.0041dcb0
mov edx, dword [ebp - 4]
mov dword [edx - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.00497e40
test al, al
je 0x4ce86a
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.00497e70
test al, al
je 0x4ce86a
call sub.user32.dll_GetFocus
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push dword [eax - 0x6c]
call sub.user32.dll_SetFocus
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax - 0x6c]
call sub.user32.dll_SendMessageA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
push dword [ebp - 0xc]
call sub.user32.dll_SetFocus
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
jmp 0x4ce86a
cmp dword [0x55ae50], 0
je 0x4ce86a
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
je 0x4ce61e
mov eax, dword [0x55ae50]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
jne 0x4ce61e
mov eax, dword [0x55ae50]
mov al, byte [eax + 0x100]
test al, al
jne 0x4ce61e
mov eax, dword [0x561920]
mov edx, dword [0x561920]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x561920]
mov edx, dword [0x561920]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
jne 0x4ce715
mov eax, dword [0x55ae50]
mov al, byte [eax + 0x100]
test al, al
jne 0x4ce715
mov eax, dword [0x561920]
mov edx, dword [0x561920]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.005422f0
mov eax, dword [0x55ae50]
cmp dword [eax + 0x148], 0
je 0x4ce6da
push 0x10
push 0
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
push dword [eax + 0x23c]
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
push dword [eax + 0x230]
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
push dword [eax + 0x128]
push 0
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
call fcn.00505470
test al, al
je 0x4ce6da
push 0
mov eax, dword [0x55ae50]
call fcn.0041dcb0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55ae50]
call fcn.00421460
jmp 0x4ce86a
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
je 0x4ce86a
mov eax, dword [0x55ae50]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
jne 0x4ce86a
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55ae50]
call fcn.00421460
jmp 0x4ce86a
cmp dword [0x55ae50], 0
je 0x4ce86a
mov ebx, dword [ebp - 4]
mov eax, dword [0x561920]
mov edx, dword [0x561920]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
jne 0x4ce844
mov eax, dword [0x55ae50]
mov al, byte [eax + 0x100]
test al, al
jne 0x4ce844
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax + 8]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax - 0x5c], 0
mov eax, dword [0x55ae50]
cmp dword [eax + 0x148], 0
je 0x4ce838
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
call fcn.00505470
test al, al
je 0x4ce838
mov eax, dword [0x55ae50]
mov eax, dword [eax + 0x148]
mov edx, dword [0x55ae50]
mov edx, dword [edx + 0x148]
mov edx, dword [edx]
call dword [edx + 0x324]
test al, al
je 0x4ce833
push 8
mov eax, dword [0x55ae50]
call fcn.0041dcb0
push eax
call sub.user32.dll_ShowWindow
call fcn.005423d0
mov eax, dword [0x55ae50]
call fcn.004214a0
jmp 0x4ce86a
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
je 0x4ce86a
mov eax, dword [0x55ae50]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
jne 0x4ce86a
mov eax, dword [0x55ae50]
call fcn.004214a0
mov ebx, dword [ebp - 0x10]
leave
ret