Function at 0x408a00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov byte [ebp - 1], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408a50
push 1
push 0
push 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x32
push eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0xc8
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408a91
push 1
push 0
push 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x32
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x64
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3ed
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x4331f4], eax
cmp dword [ebp - 8], 0
je 0x408ae3
push 1
push 0
push 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x64
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1e
push ecx
push 0
mov edx, dword [0x4331f4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 1
push 0xf1
mov eax, dword [0x4331f4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x4331e8], eax
mov edx, dword [0x4331e8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408b39
push 1
push 0
push 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x64
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x32
push ecx
push 0
mov edx, dword [0x4331e8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov eax, dword [0x4331e8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3ee
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x4331f0], eax
cmp dword [ebp - 8], 0
je 0x408bae
push 1
push 0
push 0
mov edx, dword [ebp - 0x1c]
sub edx, 0x50
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x1e
push eax
push 0
mov ecx, dword [0x4331f0]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
movzx edx, byte [ebp - 1]
neg edx
sbb edx, edx
add edx, 1
push edx
mov eax, dword [0x4331f0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
movzx ecx, byte [ebp - 1]
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
push 0xf1
mov edx, dword [0x4331f0]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], 0
push 0x3f8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x4331ec], eax
mov ecx, dword [0x4331ec]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408c1a
push 1
push 0
push 0
mov edx, dword [ebp - 0x1c]
sub edx, 0x50
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x32
push eax
push 0
mov ecx, dword [0x4331ec]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [0x4331ec]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 0x32]
mov dword [ebp - 0x10], eax
push 0x3f2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408c9e
mov eax, dword [ebp - 0x28]
add eax, 0x32
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x10], 0
je 0x408c4f
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x1c]
sub edx, 0x4f
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp + 8]
push edx
push 0x3f2
mov ecx, 0x433218
call fcn.00405d10
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x42a8b4
call fcn.00402b00
mov dword [ebp - 0x44], eax
mov ecx, 0x433218
call fcn.00405e30
mov esp, ebp
pop ebp
ret