Function at 0x408a10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x455210]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [edi + 0x10]
sub ecx, 0
push ebx
mov ebx, 0x3ec
lea eax, [ebx - 3]
push esi
mov dword [ebp - 0x4c], 0x3f0
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0x3ed
mov dword [ebp - 0x40], 0x3f1
mov dword [ebp - 0x3c], 0x3ee
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x3ea
je 0x408b88
dec ecx
je 0x408ab5
dec ecx
jne 0x408c05
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push dword [edi + 4]
call esi
test eax, eax
je 0x408a82
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push dword [edi + 4]
call esi
test eax, eax
je 0x408a95
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ed
push dword [edi + 4]
call esi
test eax, eax
je 0x408c05
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x408c05
and dword [ebp - 0x24], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [ebp - 0x24]
push dword [ebp + eax - 0x30]
push dword [edi + 4]
call ebx
mov esi, eax
test esi, esi
je 0x408b05
mov eax, dword [ebp - 0x24]
push dword [eax + 0x4568fc]
lea eax, [ebp - 0x20]
push eax
call fcn.00402be3
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
jae 0x408af1
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00401169
add dword [ebp - 0x24], 4
cmp dword [ebp - 0x24], 8
jb 0x408abf
push 0x3eb
push dword [edi + 4]
call ebx
mov esi, eax
test esi, esi
je 0x408b68
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x2c]
sub eax, 0x52
push 0x44
mov dword [ebp - 0x2c], eax
sub eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
push dword [ebp + esi*4 - 0x4c]
push dword [edi + 4]
call ebx
test eax, eax
je 0x408b80
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 5
jb 0x408b6a
jmp 0x408c05
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push dword [ebp + ebx*4 - 0x4c]
push dword [edi + 4]
call esi
test eax, eax
je 0x408ba6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
cmp ebx, 5
jb 0x408b90
push 0x3eb
push dword [edi + 4]
call esi
mov esi, eax
test esi, esi
je 0x408c05
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x2c]
add eax, 0x52
push 0x44
mov dword [ebp - 0x2c], eax
sub eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00433865
leave
ret