Function at 0x1042ab2
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10b21ec], 0
push esi
push edi
je 0x1042af3
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1042c99
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x105899f
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10b1180
call fcn.010319db
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.0103160d
neg eax
sbb eax, eax
inc eax
push eax
mov esi, 0x451
push esi
push dword [ebp + 8]
call edi
call fcn.010315dd
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 0x1042978
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
jl 0x10589dd
cmp dword [ebp - 8], 0
je 0x10589dd
push 0
push 0x10429f8
push 0x100f4a0
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x1042b93
push 1
push 0x475
push dword [ebp + 8]
call edi
push 0
push 0x10315b4
push 0x100f4a0
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x1058a1b
push 0x1031af8
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1058a2c
mov eax, dword [0x10b1e58]
sub eax, 0
je 0x1042ca6
dec eax
je 0x1058a44
dec eax
je 0x1058a40
xor eax, eax
push eax
push 4
push 0x58c
mov edi, 0x476
push edi
push dword [ebp + 8]
call fcn.01042cb9
push 0x1031ae8
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1058a4c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xffff
push 0x1031590
push 0x100f4a0
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1042c34
and dword [ebp - 4], 0
push dword [ebp - 4]
mov edi, 0x477
push 3
push 0x582
push edi
push dword [ebp + 8]
call fcn.01042cb9
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x1058a5c
cmp dword [0x10b21ec], 0
pop ebx
je 0x1042c93
mov al, byte [0x10b21f0]
cmp al, 4
jb 0x1042cae
mov eax, dword [0x10b21d8]
mov ecx, dword [0x10b21dc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x1058a7e
pop edi
pop esi
leave
ret 0xc
test al, al
je 0x1042ad2
jmp 0x1042af3
xor eax, eax
inc eax
jmp 0x1042bdd
test al, al
je 0x1042c72
jmp 0x1042c93
mov eax, dword [0x10b21e0]
mov edi, dword [0x10b21e4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1042af3
cmp edx, edi
jne 0x1042af3
push 0x1058ac0
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
jmp 0x1042af3
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 0x1042b93
push 1
push 0x473
push dword [ebp + 8]
call edi
jmp 0x1042bac
push 0
push 0x473
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1042bbf
push 2
jmp 0x1058a46
push 3
pop eax
jmp 0x1042bdd
push 0
push edi
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1042c06
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 0x1042c5f
mov eax, dword [0x10b21e0]
mov edi, dword [0x10b21e4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1042c93
cmp edx, edi
jne 0x1042c93
push 0x1058ad0
push dword [0x10b219c]
push dword [0x10b2198]
call fcn.010127a5
jmp 0x1042c93