Function at 0x536920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x14e1
sub esp, 0x58
push dword [ebp + 8]
call fcn.00543f0d
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0
mov dword [ebp - 0x1c], eax
mov eax, 0
mov edx, dword [ebp + 0xc]
cmp eax, edx
jne 0x53695d
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x53695d
jmp 0x536961
xor eax, eax
jmp 0x536964
xor eax, eax
inc eax
cmp eax, 0
je 0x536980
push 1
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_BeginDeferWindowPos]
mov dword [ebp + 0xc], eax
xor eax, eax
jmp 0x536983
xor eax, eax
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
add eax, 0xe0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
jne 0x536a3b
mov eax, dword [ebp - 0x10]
add eax, 0x90
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
xor al, 1
cmp eax, 0
je 0x5369cf
mov eax, 0xfffffffe
mov dword [ebp + 0x18], 0xfffffffe
push dword [ebp - 0x14]
call fcn.00442bf2
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
call fcn.00442c2d
mov dword [ebp - 0x28], eax
jmp 0x536a31
push 0xf
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
call fcn.00543f6e
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
jne 0x536a26
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
call fcn.005441e5
push eax
call fcn.00536920
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jb 0x5369e7
mov eax, dword [ebp - 0x58]
cmp eax, 0
je 0x536a82
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
push eax
call fcn.00450934
mov edx, eax
mov eax, dword [0x62f6dc]
cmp eax, edx
jne 0x536a82
push 0xffffffffffffffec
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 0x80000
and eax, edx
cmp eax, 0
jle 0x536a82
jmp 0x536a86
xor eax, eax
jmp 0x536a89
xor eax, eax
inc eax
cmp eax, 0
je 0x536eb0
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x536df2
mov eax, dword [0x6302f8]
sub eax, 8
push eax
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
and eax, 0xffff
shl eax, 0x10
sar eax, 0x10
xchg edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
sar eax, 0x10
xchg edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x536b13
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x536b13
jmp 0x536b17
xor eax, eax
jmp 0x536b1a
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x536bde
mov eax, 1
or eax, 4
or eax, 0x10
push eax
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_DeferWindowPos]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x34]
shl eax, 0x10
push eax
mov eax, dword [ebp - 0x30]
and eax, 0xffff
pop edx
xchg edx, eax
or eax, edx
push eax
mov eax, dword [0x6302f8]
sub eax, 8
push eax
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_SetWindowLongW]
mov eax, dword [0x6302f8]
sub eax, 0x14
push eax
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x536bde
mov eax, 1
or eax, 4
or eax, 0x10
push eax
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_DeferWindowPos]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x536c14
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 0
jne 0x536c14
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
and eax, 0x8000
cmp eax, 0
jne 0x536c14
jmp 0x536c18
xor eax, eax
jmp 0x536c1b
xor eax, eax
inc eax
cmp eax, 0
je 0x536ded
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
xchg edx, eax
lea eax, [ebp - 0x44]
mov eax, dword [eax + 8]
xchg edx, eax
sub eax, edx
sar eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x536c9c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x64]
jmp 0x536cba
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
fld dword [eax + 4]
fstp dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
fld dword [eax + 8]
fstp dword [ebp - 0x64]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], eax
sub esp, 4
fld dword [ebp - 0x60]
fstp dword [esp]
call fcn.00543e3e
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], edx
sub esp, 4
fld dword [ebp - 0x64]
fstp dword [esp]
call fcn.00543e3e
mov edx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x30]
add eax, edx
mov edx, dword [ebp - 0x4c]
add eax, edx
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
xchg edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
xchg edx, eax
add eax, edx
pop edx
xchg edx, eax
cmp eax, edx
jle 0x536d67
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x30]
add eax, edx
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
xchg edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
xchg edx, eax
add eax, edx
pop edx
xchg edx, eax
sub eax, edx
xchg edx, eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
sub eax, edx
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x34]
add eax, edx
mov edx, dword [ebp - 0x4c]
add eax, edx
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
xchg edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x14]
xchg edx, eax
add eax, edx
pop edx
xchg edx, eax
cmp eax, edx
jle 0x536dd8
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x34]
add eax, edx
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
xchg edx, eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x14]
xchg edx, eax
add eax, edx
pop edx
xchg edx, eax
sub eax, edx
xchg edx, eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
sub eax, edx
mov edx, dword [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0
push 0
push dword [ebp - 0x48]
push dword [ebp + 8]
call fcn.00536381
jmp 0x536eb0
mov eax, dword [ebp - 0x10]
add eax, 0x90
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp eax, 0
je 0x536e59
mov eax, dword [ebp + 0x18]
cmp eax, 0xffffffff
jne 0x536e25
mov eax, 8
mov dword [ebp + 0x18], 8
jmp 0x536e57
mov eax, dword [ebp + 0x18]
cmp eax, 0xfffffffe
jne 0x536e3d
mov eax, 0
mov dword [ebp + 0x18], 0
jmp 0x536e57
xor eax, eax
inc eax
je 0x536e49
mov eax, 0
jmp 0x536e57
call 0x536e4e
pop eax
push eax
push 0x64
call fcn.00425ba9
jmp 0x536e65
mov eax, 0
mov dword [ebp + 0x18], 0
push dword [ebp + 0x18]
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x6302f8]
sub eax, 0x14
push eax
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x536eb0
push dword [ebp + 0x18]
push dword [ebp + 8]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp - 0x58]
xor al, 1
cmp eax, 0
je 0x536ecb
push dword [ebp + 0xc]
mov dword [section..data], ebp
call dword [sym.imp.USER32.DLL_EndDeferWindowPos]
leave
ret 0x14