Function at 0x536e14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x25c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetParent
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402f00
mov dword [ebp - 0x74], 0x3c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 1
jne 0x536e8a
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
mov eax, dword [eax + 0x4c]
mov ecx, 0xfffffffb
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.00544838
mov byte [ebp - 0x19], al
jmp 0x536ed8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 0
jne 0x536ebe
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x264]
mov eax, dword [eax + 0x4c]
mov ecx, 0xfffffffa
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.00544838
mov byte [ebp - 0x19], al
jmp 0x536ed8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 2
jne 0x536ed8
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00537408
mov byte [ebp - 0x19], al
mov al, byte [ebp - 0x19]
mov edx, dword [ebp - 4]
mov byte [edx + 0x279], al
cmp byte [ebp - 0x19], 0
je 0x537127
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [ebp - 0x20], eax
test byte [ebp - 0x1d], 0x10
jne 0x536f27
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 0
push 0
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
jmp 0x537127
test dword [ebp - 0x50], 0x8000
jbe 0x536f6d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 1
jne 0x536f4e
push 0
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
jmp 0x536f5e
push 0
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 0
jmp 0x537127
lea esi, [ebp - 0x70]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x269], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x26d], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x271], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x275], edx
mov eax, dword [ebp - 0x2c]
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 1
jne 0x53700e
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x228], eax
jmp 0x53701a
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
mov dword [edx + 0x228], eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
call fcn.0041cbe0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x234], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x238], edx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_ScreenToClient
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x537069
xor eax, eax
mov dword [ebp - 0x10], eax
push 5
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov byte [eax + 0x279], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 2
je 0x5370d5
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_MoveWindow
jmp 0x537127
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
call fcn.0041cbe0
push 0
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0046427c
push eax
call sub.user32.dll_MoveWindow
pop edi
pop esi
mov esp, ebp
pop ebp
ret