Function at 0x542330
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 0x542748
sub eax, 0xf020
je 0x542499
sub eax, 0xe0
je 0x542372
sub eax, 0x20
je 0x542643
jmp 0x542748
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
test eax, eax
jne 0x542381
jmp 0x542494
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
cmp eax, 0x20
jne 0x542391
jmp 0x542494
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x4c]
call fcn.00412ab0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x5423ab
jmp 0x542494
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x5423cb
jmp 0x5423ba
mov eax, dword [ebp - 8]
test dword [eax + 0x28], 0x10
jne 0x5423cb
jmp 0x542494
mov eax, dword [0x5d4f10]
test eax, eax
jne 0x5423d9
jmp 0x542494
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
test eax, eax
jne 0x5423ed
jmp 0x542494
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
cmp eax, dword [ebp - 8]
jne 0x542402
jmp 0x542494
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
call fcn.00578e80
test al, al
jne 0x54241b
jmp 0x542494
mov eax, dword [0x5d4f10]
call fcn.0041e9e0
mov edx, dword [ebp - 4]
mov dword [edx - 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.0050b840
test al, al
jne 0x54243c
jmp 0x542494
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x6c]
call fcn.0050b870
test al, al
jne 0x54244d
jmp 0x542494
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 0x542748
cmp dword [0x5d4f10], 0
jne 0x5424a7
jmp 0x54263e
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x5424b2
jmp 0x5424ee
mov eax, dword [0x5d4f10]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x5424c7
jmp 0x5424ee
mov eax, dword [0x5d4f10]
mov al, byte [eax + 0x100]
test al, al
je 0x5424d8
jmp 0x5424ee
mov eax, dword [0x5e3f40]
mov edx, dword [0x5e3f40]
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 [0x5e3f40]
mov edx, dword [0x5e3f40]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
je 0x54250b
jmp 0x5425e8
mov eax, dword [0x5d4f10]
mov al, byte [eax + 0x100]
test al, al
je 0x54251f
jmp 0x5425e8
mov eax, dword [0x5e3f40]
mov edx, dword [0x5e3f40]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.005b8a60
mov eax, dword [0x5d4f10]
cmp dword [eax + 0x148], 0
jne 0x542544
jmp 0x5425b0
push 0x10
push 0
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
push dword [eax + 0x23c]
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
push dword [eax + 0x230]
mov eax, dword [0x5d4f10]
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 [0x5d4f10]
mov eax, dword [eax + 0x148]
call fcn.00578e80
test al, al
jne 0x54259e
jmp 0x5425b0
push 0
mov eax, dword [0x5d4f10]
call fcn.0041e9e0
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 [0x5d4f10]
call fcn.004223e0
jmp 0x54263e
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x5425f3
jmp 0x54263e
mov eax, dword [0x5d4f10]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x542608
jmp 0x54263e
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 [0x5d4f10]
call fcn.004223e0
jmp 0x542748
cmp dword [0x5d4f10], 0
jne 0x542651
jmp 0x542746
mov ebx, dword [ebp - 4]
mov eax, dword [0x5e3f40]
mov edx, dword [0x5e3f40]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx + 8]
je 0x54266e
jmp 0x54271c
mov eax, dword [0x5d4f10]
mov al, byte [eax + 0x100]
test al, al
je 0x542682
jmp 0x54271c
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 [0x5d4f10]
cmp dword [eax + 0x148], 0
jne 0x5426be
jmp 0x542710
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
call fcn.00578e80
test al, al
jne 0x5426d4
jmp 0x542710
mov eax, dword [0x5d4f10]
mov eax, dword [eax + 0x148]
mov edx, dword [0x5d4f10]
mov edx, dword [edx + 0x148]
mov edx, dword [edx]
call dword [edx + 0x328]
test al, al
jne 0x5426f9
jmp 0x54270b
push 8
mov eax, dword [0x5d4f10]
call fcn.0041e9e0
push eax
call sub.user32.dll_ShowWindow
call fcn.005b8b50
mov eax, dword [0x5d4f10]
call fcn.00422420
jmp 0x542746
mov eax, dword [ebp - 4]
cmp dword [eax - 0x4c], 0
jne 0x542727
jmp 0x542746
mov eax, dword [0x5d4f10]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x148]
cmp eax, dword [edx - 0x4c]
je 0x54273c
jmp 0x542746
mov eax, dword [0x5d4f10]
call fcn.00422420
jmp 0x542748
mov ebx, dword [ebp - 0x10]
leave
ret