Function at 0x52e938
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x58
push dword [ebp + 8]
call fcn.0053b180
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0
mov dword [ebp - 0x18], eax
mov eax, 0
mov edx, dword [ebp + 0xc]
cmp eax, edx
jne 0x52e970
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x52e970
jmp 0x52e974
xor eax, eax
jmp 0x52e977
xor eax, eax
inc eax
cmp eax, 0
je 0x52e98d
push 1
call dword [sym.imp.USER32.DLL_BeginDeferWindowPos]
mov dword [ebp + 0xc], eax
xor eax, eax
jmp 0x52e990
xor eax, eax
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
add eax, 0xe0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
jne 0x52ea48
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
xor al, 1
cmp eax, 0
je 0x52e9dc
mov eax, 0xfffffffe
mov dword [ebp + 0x18], 0xfffffffe
push dword [ebp - 0x10]
call fcn.00440b68
mov dword [ebp - 0x20], eax
push dword [ebp - 0x10]
call fcn.00440b9e
mov dword [ebp - 0x24], eax
jmp 0x52ea3e
push 0xf
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
push eax
call fcn.0053b1c9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
jne 0x52ea33
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.0053b3e0
push eax
call fcn.0052e938
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
cmp eax, edx
jb 0x52e9f4
mov eax, dword [ebp - 0x54]
cmp eax, 0
je 0x52ea89
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
call fcn.0044e3f8
mov edx, eax
mov eax, dword [0x57f984]
cmp eax, edx
jne 0x52ea89
push 0xffffffffffffffec
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 0x80000
and eax, edx
cmp eax, 0
jle 0x52ea89
jmp 0x52ea8d
xor eax, eax
jmp 0x52ea90
xor eax, eax
inc eax
cmp eax, 0
je 0x52ee81
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x52edd5
mov eax, dword [0x580528]
sub eax, 8
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
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 - 0x2c], eax
mov eax, dword [ebp - 0x48]
sar eax, 0x10
xchg edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x52eb14
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x52eb14
jmp 0x52eb18
xor eax, eax
jmp 0x52eb1b
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x52ebc7
mov eax, 1
or eax, 4
or eax, 0x10
push eax
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_DeferWindowPos]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x30]
shl eax, 0x10
push eax
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
pop edx
xchg edx, eax
or eax, edx
push eax
mov eax, dword [0x580528]
sub eax, 8
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetWindowLongW]
mov eax, dword [0x580528]
sub eax, 0x14
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x52ebc7
mov eax, 1
or eax, 4
or eax, 0x10
push eax
push 0
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_DeferWindowPos]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x52ebfd
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 0
jne 0x52ebfd
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
and eax, 0x8000
cmp eax, 0
jne 0x52ebfd
jmp 0x52ec01
xor eax, eax
jmp 0x52ec04
xor eax, eax
inc eax
cmp eax, 0
je 0x52edd0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x10]
xchg edx, eax
lea eax, [ebp - 0x40]
mov eax, dword [eax + 8]
xchg edx, eax
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
add eax, 0x20
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x52ec7f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x60]
jmp 0x52ec9d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
fld dword [eax + 4]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
fld dword [eax + 8]
fstp dword [ebp - 0x60]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
sub esp, 4
fld dword [ebp - 0x5c]
fstp dword [esp]
call fcn.0053b06a
mov edx, eax
mov eax, dword [ebp - 0x44]
mov dword [eax], edx
sub esp, 4
fld dword [ebp - 0x60]
fstp dword [esp]
call fcn.0053b06a
mov edx, eax
mov eax, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov edx, dword [ebp - 0x48]
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 0x52ed4a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp - 0x2c]
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 - 0x44]
mov eax, dword [eax]
sub eax, edx
mov edx, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x30]
add eax, edx
mov edx, dword [ebp - 0x48]
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 0x52edbb
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x30]
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 - 0x44]
mov eax, dword [eax + 4]
sub eax, edx
mov edx, dword [ebp - 0x48]
sub eax, edx
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push 0
push 0
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.0052e3f7
jmp 0x52ee81
mov eax, dword [ebp - 0xc]
add eax, 0x90
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp eax, 0
je 0x52ee3c
mov eax, dword [ebp + 0x18]
cmp eax, 0xffffffff
jne 0x52ee08
mov eax, 8
mov dword [ebp + 0x18], 8
jmp 0x52ee3a
mov eax, dword [ebp + 0x18]
cmp eax, 0xfffffffe
jne 0x52ee20
mov eax, 0
mov dword [ebp + 0x18], 0
jmp 0x52ee3a
xor eax, eax
inc eax
je 0x52ee2c
mov eax, 0
jmp 0x52ee3a
call 0x52ee31
pop eax
push eax
push 0x64
call fcn.004255d6
jmp 0x52ee48
mov eax, 0
mov dword [ebp + 0x18], 0
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x580528]
sub eax, 0x14
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0
je 0x52ee81
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp - 0x54]
xor al, 1
cmp eax, 0
je 0x52ee96
push dword [ebp + 0xc]
call dword [sym.imp.USER32.DLL_EndDeferWindowPos]
leave
ret 0x14