Function at 0x104229d
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 0x10422de
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1042484
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov esi, SHChangeNotifyRegister
and eax, edx
and ecx, esi
or eax, ecx
jne 0x105ba84
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10b1460
call fcn.01023f3c
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.010355d9
neg eax
sbb eax, eax
inc eax
push eax
mov esi, 0x451
push esi
push dword [ebp + 8]
call edi
call fcn.010355a9
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 0x10425e0
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
jl 0x105bac2
cmp dword [ebp - 8], 0
je 0x105bac2
push 0
push 0x1042660
push 0x100f278
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x104237e
push 1
push 0x475
push dword [ebp + 8]
call edi
push 0
push 0x1035580
push 0x100f278
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x105bb00
push 0x1024058
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x105bb11
mov eax, dword [0x10b2138]
sub eax, 0
je 0x1042491
dec eax
je 0x105bb29
dec eax
je 0x105bb25
xor eax, eax
push eax
push 4
push 0x58c
mov edi, 0x476
push edi
push dword [ebp + 8]
call fcn.01042691
push 0x1024048
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x105bb31
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xffff
push 0x103555c
push 0x100f278
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x104241f
and dword [ebp - 4], 0
push dword [ebp - 4]
mov edi, 0x477
push 3
push 0x582
push edi
push dword [ebp + 8]
call fcn.01042691
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x105bb41
cmp dword [0x10b24cc], 0
pop ebx
je 0x104247e
mov al, byte [0x10b24d0]
cmp al, 4
jb 0x1042499
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov esi, SHChangeNotifyRegister
and eax, edx
and ecx, esi
or eax, ecx
jne 0x105bb63
pop edi
pop esi
leave
ret 0xc
test al, al
je 0x10422bd
jmp 0x10422de
xor eax, eax
inc eax
jmp 0x10423c8
test al, al
je 0x104245d
jmp 0x104247e
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x10422de
cmp edx, edi
jne 0x10422de
push 0x105bba8
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x10422de
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 0x104237e
push 1
push 0x473
push dword [ebp + 8]
call edi
jmp 0x1042397
push 0
push 0x473
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x10423aa
push 2
jmp 0x105bb2b
push 3
pop eax
jmp 0x10423c8
push 0
push edi
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x10423f1
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 0x104244a
mov eax, dword [0x10b24c0]
mov edi, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x104247e
cmp edx, edi
jne 0x104247e
push 0x105bbb8
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
jmp 0x104247e