Function at 0x667f9b4a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
cmp dword [ebp + 0xc], 0
mov eax, dword [0x6680448c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
je 0x667f9e0c
push ebx
push esi
push edi
push 0x45
pop ecx
xor eax, eax
lea edi, [ebp - 0x22c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x22c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x21c], 1
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x8c1
jne 0x667f9d07
push 0
push 0x870
push dword [ebp - 0x230]
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x870
push dword [ebp - 0x230]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
push dword [ebp - 0x230]
call esi
push eax
call edi
push 0
push ebx
push dword [ebp - 0x230]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x26c]
push eax
push 0x86f
push dword [ebp - 0x230]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call edi
lea eax, [ebp - 0x25c]
push eax
push 0x870
push dword [ebp - 0x230]
call esi
push eax
call edi
push 0x86f
push dword [ebp - 0x230]
call esi
lea ecx, [ebp - 0x248]
push ecx
push eax
mov dword [ebp - 0x24c], eax
call edi
mov eax, dword [ebp - 0x248]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x230]
call edi
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x230]
call edi
mov ecx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x240], eax
sub eax, dword [ebp - 0x248]
mov dword [ebp - 0x23c], ecx
sub ecx, dword [ebp - 0x244]
push 1
push ecx
push eax
mov eax, dword [ebp - 0x268]
sub eax, dword [ebp - 0x258]
add eax, dword [ebp - 0x244]
push eax
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [0x66804040]
xor eax, eax
cmp dword [ecx + 0x148], 1
mov edi, 0x86e
sete al
push eax
push edi
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 0
push ebx
push dword [ebp - 0x230]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [ebp - 0x230]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x667f9d9c
push 0x45
pop ecx
xor eax, eax
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [0x66804040]
cmp dword [eax + 0x148], 1
jne 0x667f9d9c
cmp dword [ebp - 0x108], 2
jne 0x667f9d9c
push 1
push ebx
push dword [ebp - 0x230]
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x66804040]
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 0x20
push eax
push ebx
push dword [ebp - 0x230]
call esi
mov eax, dword [0x66804040]
cmp dword [eax + 0x148], 2
jne 0x667f9dd0
test byte [eax + 4], 8
jne 0x667f9dd0
xor eax, eax
inc eax
jmp 0x667f9dd2
xor eax, eax
push eax
push 0x86f
push dword [ebp - 0x230]
call esi
mov eax, dword [0x66804040]
cmp dword [eax + 0x148], 2
jne 0x667f9df9
test byte [eax + 4], 8
je 0x667f9df9
xor eax, eax
inc eax
jmp 0x667f9dfb
xor eax, eax
push eax
push 0x870
push dword [ebp - 0x230]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
inc eax
call fcn.6680214e
leave
ret 8