Function at 0x407c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x10], 0
mov eax, str.BR_DETAIL_SHOW
jne 0x407c3e
mov eax, str.BR_DETAIL_HIDE
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00411990
add esp, 8
lea ecx, [esp + 0xc]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, dword [edi + 4]
push eax
push 0x3f3
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [edi + 4]
push 0
push 0
push 0xf0
push 0x3e8
push edx
mov ebx, 0x62
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
push 0x3eb
jne 0x407cc3
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
push 0x62
mov esi, eax
call fcn.00407b90
mov ecx, dword [edi + 4]
push 0x3ea
push ecx
call ebx
push 0x64
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x71
jmp 0x407cec
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edx
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 0x3ea
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0x3f1
push ecx
call esi
test ebx, ebx
jl 0x407d0b
push ebx
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x407d14
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push 0x41d
push edx
add ebx, 0xb
call esi
test ebx, ebx
jl 0x407d36
push ebx
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x407d3f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 0xffff
push eax
add ebx, 0x32
call esi
test ebx, ebx
jl 0x407d61
push ebx
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x407d6a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0x3f3
push ecx
add ebx, 5
call esi
test ebx, ebx
jl 0x407d8c
push ebx
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x407d95
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push 1
push edx
call esi
test ebx, ebx
jl 0x407db1
push ebx
mov esi, eax
call fcn.00407b90
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x407dba
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0xe
cmp dword [edi + 0x10], 0
push 0x3f2
je 0x407df0
mov eax, dword [edi + 4]
push eax
call esi
lea ecx, [ebx + 5]
test ecx, ecx
jl 0x407de2
push ecx
mov esi, eax
call fcn.00407b90
add ebx, 0x33
jmp 0x407dff
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0x33
jmp 0x407dff
mov ecx, dword [edi + 4]
push ecx
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [esp + 0x24], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
push edx
xor esi, esi
add ebx, 4
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
sub edx, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
add edx, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
add edx, dword [esp + 0x24]
push 0x16
push edx
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 4]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0xc]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret