Function at 0x1048bd5
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10b24cc], 0
push esi
push edi
je 0x1048c16
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1048dbc
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x105b864
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10b1460
call fcn.01023e74
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
and eax, 1
push eax
push 0x44e
push dword [ebp + 8]
call edi
call fcn.01035439
neg eax
sbb eax, eax
inc eax
push eax
mov esi, 0x451
push esi
push dword [ebp + 8]
call edi
call fcn.01035409
neg eax
sbb eax, eax
inc eax
push eax
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
lea eax, [ebp - 8]
push eax
push 0x1048f18
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
jl 0x105b8a2
cmp dword [ebp - 8], 0
je 0x105b8a2
push 0
push 0x1048f98
push 0x100f280
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x1048cb6
push 1
push 0x475
push dword [ebp + 8]
call edi
push 0
push 0x10353e0
push 0x100f280
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x105b8e0
push 0x1023f90
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x105b8f1
mov eax, dword [0x10b2138]
sub eax, 0
je 0x1048dc9
dec eax
je 0x105b909
dec eax
je 0x105b905
xor eax, eax
push eax
push 4
push 0x58c
mov edi, 0x476
push edi
push dword [ebp + 8]
call fcn.01048fc9
push 0x1023f80
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x105b911
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xffff
push 0x10353bc
push 0x100f280
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1048d57
and dword [ebp - 4], 0
push dword [ebp - 4]
mov edi, 0x477
push 3
push 0x582
push edi
push dword [ebp + 8]
call fcn.01048fc9
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x105b921
cmp dword [0x10b24cc], 0
pop ebx
je 0x1048db6
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1048dd1
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x105b943
pop edi
pop esi
leave
ret 0xc
test al, al
je 0x1048bf5
jmp 0x1048c16
xor eax, eax
inc eax
jmp 0x1048d00
test al, al
je 0x1048d95
jmp 0x1048db6
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1048c16
cmp edx, edi
jne 0x1048c16
push 0x105b988
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x1048c16
push 0
push 0x475
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x479
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x478
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1048cb6
push 1
push 0x473
push dword [ebp + 8]
call edi
jmp 0x1048ccf
push 0
push 0x473
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1048ce2
push 2
jmp 0x105b90b
push 3
pop eax
jmp 0x1048d00
push 0
push edi
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1048d29
push edi
push dword [ebp + 8]
call esi
push 0
push 2
mov esi, eax
push 0x14e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push esi
call ebx
jmp 0x1048d82
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1048db6
cmp edx, edi
jne 0x1048db6
push 0x105b998
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x1048db6