Function at 0x4163a7
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1068]
mov eax, 0x1068
call fcn.00437a10
push 0xffffffffffffffff
push 0x4a284a
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x1064], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x107c]
mov edi, dword [ebp + 0x1078]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1080]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1084]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARELiveUpdate360_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x416439
xor eax, eax
jmp 0x416653
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp + 0x1070]
push eax
push 4
push ebx
push str.proxytype
push dword [ebp - 0x10]
call esi
push 4
lea eax, [ebp + 0x1074]
push eax
push 4
push ebx
push str.customproxytype
push dword [ebp - 0x10]
call esi
cmp dword [ebp + 0x1070], 2
jne 0x416645
mov esi, 0x417
push esi
lea eax, [ebp + 0xc4d]
push ebx
push eax
mov byte [ebp + 0xc4c], bl
call fcn.00436ec0
push esi
lea eax, [ebp + 0x835]
push ebx
push eax
mov byte [ebp + 0x834], bl
call fcn.00436ec0
mov ecx, dword [ebp - 0x20]
add esp, 0x18
cmp dword [ecx + 0x18], 8
lea eax, [esi + 1]
mov dword [ebp - 0x18], eax
jb 0x4164bc
mov ecx, dword [ecx + 4]
jmp 0x4164bf
add ecx, 4
push ebx
push ebx
push eax
lea eax, [ebp + 0xc4c]
push eax
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp + 0xc4c]
push eax
call fcn.00436d00
push eax
lea eax, [ebp + 0xc4c]
push eax
call fcn.004183e1
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x834]
push ecx
push eax
lea eax, [ebp + 0xc4c]
push eax
call fcn.00417fe9
xor eax, eax
push 0x832
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00436ec0
add esp, 0x28
push 0x830
lea eax, [ebp]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x834]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, 0x4aa974
push esi
lea eax, [ebp - 0xb0]
push edi
push eax
call fcn.004030a9
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00415b12
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 1
call fcn.004030a9
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00415b12
push esi
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.004030a9
lea ecx, [ebp]
push ecx
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004030a9
add esp, 0x48
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004028b7
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401d9e
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.00401d9e
push ebx
push esi
lea ecx, [ebp - 0x94]
call fcn.00401d9e
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.00401d9e
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.00401d9e
push ebx
push esi
lea ecx, [ebp - 0xb0]
call fcn.00401d9e
mov eax, dword [edi + 0x14]
cmp dword [ebp + 0x1074], ebx
jne 0x41662a
cmp dword [edi + 0x18], 8
jb 0x416611
mov edi, dword [edi + 4]
jmp 0x416614
add edi, 4
add eax, eax
push eax
push edi
push esi
push ebx
push str.customhttp
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x416648
cmp dword [edi + 0x18], 8
jb 0x416635
mov edi, dword [edi + 4]
jmp 0x416638
add edi, 4
add eax, eax
push eax
push edi
push esi
push ebx
push 0x4af1d0
jmp 0x41661f
xor esi, esi
inc esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1064]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x1068
leave
ret