Function at 0x439920
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push edi
mov ebx, ecx
push eax
push ebx
mov dword [ebp - 0x28], ebx
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [0x51fb68]
push 6
push eax
mov eax, dword [0x51ff30]
lea eax, [eax + ecx*2]
add eax, dword [0x51fd8c]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push ebx
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x3ef
push ebx
mov dword [0x51fb6c], eax
lea ecx, [eax + 2]
cmp dword [0x50caf4], ecx
mov dword [0x50caf0], ecx
cmovg ecx, dword [0x50caf4]
mov dword [0x50caf4], ecx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push dword [0x51fb6c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [0x521f0c]
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3fa
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push dword [0x51fb6c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x403
push ebx
call edi
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [0x4dca48]
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 4
push dword [0x51fb6c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [0x522188]
push dword [0x4dca48]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x7df
push ebx
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
push 0x7d0
push ebx
mov dword [0x51ff68], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
sub dword [0x51ff68], eax
push 0x3fe
push ebx
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
push 0x3f8
push ebx
mov dword [0x520580], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [0x520580]
push 0x3f0
push ebx
mov dword [0x520580], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x10]
push 0x3f1
push ebx
mov dword [0x52057c], eax
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [0x52057c]
push 0x7e0
push ebx
mov dword [0x52057c], eax
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor edx, edx
mov ecx, esi
call fcn.0043492d
mov dword [ebp - 0x20], eax
push 3
mov dword [ebp - 0x1c], edx
lea eax, [edx + edx]
pop ecx
cdq
idiv ecx
push 0x7e1
add eax, dword [ebp - 0x10]
push ebx
mov dword [0x51fb28], eax
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor edx, edx
mov ecx, esi
call fcn.0043492d
mov dword [ebp - 0x20], eax
push 3
mov dword [ebp - 0x1c], edx
lea eax, [edx + edx]
pop ecx
cdq
idiv ecx
push 0x7e2
add eax, dword [ebp - 0x10]
push ebx
mov dword [0x51fb2c], eax
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor edx, edx
mov ecx, esi
call fcn.0043492d
mov dword [ebp - 0x20], eax
push 3
pop ecx
lea eax, [edx + edx]
mov dword [ebp - 0x1c], edx
cdq
idiv ecx
add eax, dword [ebp - 0x10]
mov dword [0x51fb30], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x463
push dword [0x521dec]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push 0x41c
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
push dword [0x50caf0]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [0x4dca48]
push dword [0x521dec]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
mov dword [ebp - 0x18], eax
push dword [eax*4 + 0x4b220c]
push ebx
call edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [0x51fb68]
mov edx, dword [0x51fd78]
sub ecx, edx
add ecx, dword [0x51fd8c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
and eax, 0x80000001
jns 0x439cfb
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x439d0c
mov eax, dword [0x51ff74]
add eax, edx
sub ecx, eax
mov dword [ebp - 0x2c], ecx
push 3
pop eax
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetWindow]
push 0
push dword [0x50caf0]
push dword [0x51fd78]
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x18]
push 3
inc eax
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
jb 0x439cb2
push 0x401
push ebx
call edi
lea ecx, [ebp - 0x14]
push ecx
push eax
call esi
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
push eax
push 0
push 0x463
push dword [0x521f1c]
call esi
movzx ecx, word [0x50caf0]
movzx eax, word [ebp - 0x20]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x41f
push dword [0x521f1c]
call esi
push 0
push 0
push 0x456
push dword [0x521f1c]
call esi
movzx edx, ax
shr eax, 0x10
mov dword [ebp - 0x1c], eax
add eax, 2
movzx ecx, ax
lea eax, [edx + 3]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
mov dword [ebp - 0x20], edx
push ecx
push 0
push 0x457
push dword [0x521f1c]
call esi
mov eax, dword [0x51fb60]
add eax, dword [0x51ff74]
add eax, dword [0x51fb68]
push 0
push dword [0x50caf0]
push dword [0x51ff64]
push dword [ebp - 0x10]
push eax
push dword [0x52206c]
push dword [0x521f1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x403
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
push eax
push dword [0x51fb60]
push dword [ebp - 0x10]
push dword [0x51fb68]
push dword [0x522184]
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3fb
push ebx
call edi
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov esi, dword [0x51fd8c]
mov edx, dword [ebp - 0xc]
sub esi, edx
sub edx, dword [ebp - 0x14]
add esi, dword [ebp - 0x14]
push 0
push eax
mov eax, dword [0x51fb68]
push edx
push dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x20], esi
push eax
mov esi, 0x3fa
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [0x51fd8c]
sub ecx, dword [0x51fb60]
push 0
push eax
mov eax, dword [0x51ff74]
sub ecx, eax
add eax, dword [0x51fb60]
add eax, dword [0x51fb68]
push ecx
push dword [ebp - 0x10]
push eax
push 0x403
push ebx
call edi
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7d5
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
push eax
push dword [0x51ff64]
mov eax, dword [0x51ff34]
push dword [ebp - 0x10]
add eax, dword [0x51fb68]
add eax, dword [0x51fd8c]
push eax
push dword [0x521da4]
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
cmp dword [0x521f14], 0
je 0x439fe9
lea eax, [ebp - 0x14]
push eax
push dword [0x5222a4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [0x522464]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
push eax
mov eax, dword [0x51fd8c]
sub eax, dword [0x51ff64]
sub eax, dword [0x51ff74]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x7d0
push ebx
call edi
push eax
push dword [0x5222a4]
call esi
xor eax, eax
mov dword [ebp - 0x24], eax
push dword [eax + 0x4b1f64]
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 3
pop eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push 0
push ecx
push dword [0x51fd8c]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, 0x38
jb 0x439fee
xor esi, esi
mov dword [ebp - 0x18], esi
push dword [esi*4 + 0x4b2250]
push ebx
call edi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 3
pop eax
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [0x51ff88]
mov edi, eax
mov esi, dword [0x51fd88]
mov ecx, dword [ebp - 8]
add esi, edx
sub ecx, dword [ebp - 0x10]
cmp dword [ebp - 0x18], 2
mov eax, dword [0x51fb68]
push 0
push ecx
cmovl edx, esi
add eax, esi
mov esi, dword [ebp - 0x18]
cmp esi, 5
push edx
push dword [ebp - 0x10]
cmovl eax, dword [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
inc esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmp esi, 0xb
jb 0x43a04e
push 0x3f3
push ebx
call edi
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 3
pop eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push 0
push ecx
push dword [0x51fb60]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret