Function at 0x409bb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
cmp dword [edi + 0x10], 0
mov eax, str.BR_DETAIL_SHOW
jne 0x409bcb
mov eax, str.BR_DETAIL_HIDE
push eax
lea eax, [ebp - 4]
push eax
call fcn.00414b60
mov ecx, dword [ebp - 4]
mov edx, dword [edi + 4]
add esp, 8
push ecx
push 0x3f3
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [edi + 4]
push 0
push 0
push 0xf0
push 0x3e8
push eax
mov ebx, 0x62
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 1
push 0x3eb
jne 0x409c48
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
call ebx
push 0x62
mov esi, eax
call fcn.00409b20
mov edx, dword [edi + 4]
push 0x3ea
push edx
call ebx
push 0x64
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x71
jmp 0x409c71
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0x3ea
push ecx
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push 0x3f1
push edx
call esi
test ebx, ebx
jl 0x409c90
push ebx
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x409c99
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 0x41d
push eax
add ebx, 0xb
call esi
test ebx, ebx
jl 0x409cbb
push ebx
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x409cc4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push 0xffff
push ecx
add ebx, 0x32
call esi
test ebx, ebx
jl 0x409ce6
push ebx
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x409cef
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push 0x3f3
push edx
add ebx, 5
call esi
test ebx, ebx
jl 0x409d11
push ebx
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x409d1a
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 1
push eax
call esi
test ebx, ebx
jl 0x409d36
push ebx
mov esi, eax
call fcn.00409b20
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x409d3f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0xe
cmp dword [edi + 0x10], 0
push 0x3f2
je 0x409d75
mov ecx, dword [edi + 4]
push ecx
call esi
lea ecx, [ebx + 5]
test ecx, ecx
jl 0x409d67
push ecx
mov esi, eax
call fcn.00409b20
add ebx, 0x33
jmp 0x409d84
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add ebx, 0x33
jmp 0x409d84
mov edx, dword [edi + 4]
push edx
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
xor esi, esi
add ebx, 4
push ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [edi + 4]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x34]
add eax, dword [ebp - 0x28]
mov edx, dword [edi + 4]
add eax, dword [ebp - 0x20]
push 0x16
push eax
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 4]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret