Function at 0x406ce7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0
push esi
push edi
mov eax, str.BR_DETAIL_SHOW
jne 0x406d02
mov eax, str.BR_DETAIL_HIDE
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040e375
pop ecx
pop ecx
push dword [ebp - 8]
push 0x3f3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3e8
mov eax, ebx
mov dword [ebp - 4], 0x62
call fcn.00406cc5
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push dword [ebx + 4]
je 0x406d6f
call edi
push eax
push 0x62
call fcn.00406c50
push 0x3ea
push dword [ebx + 4]
call edi
push eax
push 0x64
call fcn.00406c50
mov dword [ebp - 4], 0x71
jmp 0x406d85
call edi
push 0
push eax
call esi
push 0x3ea
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x3f1
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x406da0
push eax
push dword [ebp - 4]
call fcn.00406c50
jmp 0x406da5
push 0
push eax
call esi
add dword [ebp - 4], 0xb
push 0x41d
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x406dc4
push eax
push dword [ebp - 4]
call fcn.00406c50
jmp 0x406dc9
push 0
push eax
call esi
add dword [ebp - 4], 0x32
push 0xffff
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x406de8
push eax
push dword [ebp - 4]
call fcn.00406c50
jmp 0x406ded
push 0
push eax
call esi
add dword [ebp - 4], 5
push 0x3f3
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x406e0c
push eax
push dword [ebp - 4]
call fcn.00406c50
jmp 0x406e11
push 0
push eax
call esi
push 1
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x406e29
push eax
push dword [ebp - 4]
call fcn.00406c50
jmp 0x406e2e
push 0
push eax
call esi
add dword [ebp - 4], 0xe
cmp dword [ebx + 0x10], 0
push 0x3f2
push dword [ebx + 4]
je 0x406e5e
call edi
mov ecx, dword [ebp - 4]
add ecx, 5
js 0x406e53
push eax
push ecx
call fcn.00406c50
jmp 0x406e58
push 0
push eax
call esi
add dword [ebp - 4], 0x33
jmp 0x406e65
call edi
push 0
push eax
call esi
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
push 0x16
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push esi
push esi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.004016a7
pop edi
pop esi
pop ebx
leave
ret