Function at 0x408892
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x5571c8
call fcn.00514868
sub esp, 0x8c
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x65bc74]
push 0xa1
call fcn.0049de58
push 0x49b
push dword [esi + 4]
mov byte [ebp - 0xd], al
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xa
mov dword [esi + 0xf4], eax
lea edi, [ebp - 0x94]
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x2c
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x68]
push 0x3e8
push eax
call fcn.004bab22
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x408912
mov eax, dword [eax]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
push ebx
push 1
call fcn.00401ffa
push esi
push dword [esi + 4]
lea ecx, [esi + 0xbc]
call fcn.00407aae
push 1
push ebx
push ebx
push 8
push 5
push ebx
push dword [esi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0xc0]
call edi
cmp byte [ebp - 0xd], 0
je 0x4089ca
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xc0]
call ebx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x7c]
add ecx, 0x10
and dword [esi + 0x104], 0
add eax, ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x98]
push eax
push dword [esi + 4]
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], ecx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0
push dword [esi + 0xf4]
call edi
jmp 0x408ad2
push 0
push dword [esi + 4]
lea ecx, [esi + 0x2c]
call fcn.00407b52
mov eax, dword [ebp - 0x74]
xor ecx, ecx
sub eax, dword [ebp - 0x7c]
push 1
push ecx
cdq
push ecx
sub eax, edx
push 8
sar eax, 1
push eax
push ecx
push dword [esi + 0x30]
call ebx
xor ebx, ebx
push ebx
push dword [esi + 0x30]
call edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push dword [esi + 0xc0]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
call ebx
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x30]
call ebx
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
add eax, 0x20
sub ecx, dword [ebp - 0x20]
and dword [esi + 0x104], 0
add ecx, 0x20
mov dword [esi + 0xfc], eax
mov eax, dword [ebp - 0x7c]
add eax, ecx
mov dword [esi + 0xf8], ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x98]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x34]
xor edx, edx
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x40]
push edx
push eax
push 0x10
push edx
sub ecx, 0x10
push ecx
push edx
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
push eax
push eax
push eax
push ecx
mov eax, esp
mov dword [eax], 0x6e
call fcn.004079ea
add esp, 0x10
push eax
push 1
push 0xf7
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
call ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x30]
push ecx
push eax
call ebx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
sub eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x4c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x2c]
push 5
push ecx
push ecx
push eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x50]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x30]
push eax
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0xbc]
call fcn.00409eb2
push 5
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10