Function at 0x425678
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push 0
push 0
push 0x1304
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
push edx
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x425886
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0xffffffff
jle 0x4256e2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ecx + 0x1c]
mov edx, dword [edx + eax*4]
cmp dword [edx + 4], 0
je 0x4256e2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
push ecx
call sub.USER32.dll_DestroyWindow
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
push 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
push ecx
push 0x130c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ecx + 0x1c]
mov edx, dword [edx + eax*4]
mov ecx, dword [edx + 0x18]
push ecx
push 0xfffffffffffffffa
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push edx
call sub.USER32.dll_GetWindowLongA
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
push eax
call fcn.004305e8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add esp, 0x10
mov ecx, dword [edx + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + edx*4]
cmp dword [ecx + 4], 0
je 0x425886
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0xc], edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.dll_GetWindowRect
lea edx, [ebp - 0x30]
push edx
push 0
push 0x1328
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
mov edx, dword [eax + 0x1c]
mov ecx, dword [ecx + edx*4]
lea edx, [ebp - 0x40]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
push edx
mov ecx, dword [ebp - 0x10]
push ecx
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x40]
add eax, dword [ebp - 0x28]
sub eax, edx
sar eax, 1
jns 0x4257bd
adc eax, 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x3c]
sub ecx, eax
sar ecx, 1
jns 0x4257d5
adc ecx, 0
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x40]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x14], ecx
push eax
mov edx, dword [ebp - 0x14]
push edx
call sub.USER32.dll_ScreenToClient
lea ecx, [ebp - 0x38]
push ecx
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.dll_ScreenToClient
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
push edx
call sub.USER32.dll_SetWindowPos
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
push edx
call sub.USER32.dll_ShowWindow
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
push edx
call sub.USER32.dll_GetWindow
mov dword [ebp - 0x20], eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
push 0x28
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ecx + 0x1c]
mov edx, dword [edx + eax*4]
mov ecx, dword [edx + 4]
push ecx
call sub.USER32.dll_SendMessageA
mov esp, ebp
pop ebp
ret