Function at 0x1042baa
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x10b11ec], 0
push esi
push edi
je 0x1042beb
mov al, byte [0x10b11f0]
cmp al, 4
jb 0x1042d91
mov eax, dword [0x10b11d8]
mov ecx, dword [0x10b11dc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x10588e9
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10b0180
call fcn.01031a43
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.01031675
neg eax
sbb eax, eax
inc eax
push eax
mov esi, 0x451
push esi
push dword [ebp + 8]
call edi
call fcn.01031645
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 0x1042a70
call sub.slc.dll_SLGetWindowsInformationDWORD
test eax, eax
jl 0x1058927
cmp dword [ebp - 8], 0
je 0x1058927
push 0
push 0x1042af0
push 0x100f4a0
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x1042c8b
push 1
push 0x475
push dword [ebp + 8]
call edi
push 0
push 0x103161c
push 0x100f4a0
call sub.SHLWAPI.dll_SHRegGetBoolValueFromHKCUHKLM
test eax, eax
jne 0x1058965
push 0x1031b60
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1058976
mov eax, dword [0x10b0e58]
sub eax, 0
je 0x1042d9e
dec eax
je 0x105898e
dec eax
je 0x105898a
xor eax, eax
push eax
push 4
push 0x58c
mov edi, 0x476
push edi
push dword [ebp + 8]
call fcn.01042db1
push 0x1031b50
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1058996
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xffff
push 0x10315f8
push 0x100f4a0
mov dword [ebp - 0xc], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x1042d2c
and dword [ebp - 4], 0
push dword [ebp - 4]
mov edi, 0x477
push 3
push 0x582
push edi
push dword [ebp + 8]
call fcn.01042db1
push 0x40000056
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10589a6
cmp dword [0x10b11ec], 0
pop ebx
je 0x1042d8b
mov al, byte [0x10b11f0]
cmp al, 4
jb 0x1042da6
mov eax, dword [0x10b11d8]
mov ecx, dword [0x10b11dc]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
jne 0x10589c8
pop edi
pop esi
leave
ret 0xc
test al, al
je 0x1042bca
jmp 0x1042beb
xor eax, eax
inc eax
jmp 0x1042cd5
test al, al
je 0x1042d6a
jmp 0x1042d8b
mov eax, dword [0x10b11e0]
mov edi, dword [0x10b11e4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1042beb
cmp edx, edi
jne 0x1042beb
push 0x1058a08
push dword [0x10b119c]
push dword [0x10b1198]
call fcn.010127a5
jmp 0x1042beb
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 0x1042c8b
push 1
push 0x473
push dword [ebp + 8]
call edi
jmp 0x1042ca4
push 0
push 0x473
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1042cb7
push 2
jmp 0x1058990
push 3
pop eax
jmp 0x1042cd5
push 0
push edi
push dword [ebp + 8]
call esi
push eax
call ebx
jmp 0x1042cfe
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 0x1042d57
mov eax, dword [0x10b11e0]
mov edi, dword [0x10b11e4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1042d8b
cmp edx, edi
jne 0x1042d8b
push 0x1058a18
push dword [0x10b119c]
push dword [0x10b1198]
call fcn.010127a5
jmp 0x1042d8b