Function at 0x10074fd
Capabilities:
Get proxy
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x100923c]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
mov dword [ebp - 0x510], eax
lea eax, [ebp - 0x108]
push eax
mov edi, 0x1001f6c
xor ebx, ebx
push edi
mov dword [ebp - 0x514], ebx
call esi
push eax
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x510]
push edi
call fcn.01006c06
test eax, eax
je 0x10077b0
lea eax, [ebp - 0x108]
push eax
call fcn.010079ed
dec eax
je 0x10075f0
dec eax
jne 0x10077b0
lea eax, [ebp - 0x108]
push eax
mov edi, 0x1002054
push edi
call esi
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x510]
call fcn.01006c06
test eax, eax
je 0x10077b0
cmp byte [ebp - 0x108], bl
je 0x10077b0
push ebx
lea eax, [ebp - 0x50c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10077b0
lea eax, [ebp - 0x108]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push 0x1002110
push dword [ebp - 0x50c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x10077a4
lea eax, [ebp - 0x508]
push eax
push 0x1002084
push 0x1001f94
push 0x1001f80
push dword [ebp + 0xc]
mov byte [ebp - 0x508], bl
push edi
call fcn.01006cd1
lea eax, [ebp - 0x508]
push eax
push 0x100208c
push 0x1001fc0
push 0x1001fac
push dword [ebp + 0xc]
push edi
call fcn.01006cd1
lea eax, [ebp - 0x508]
push eax
push 0x1002094
push 0x1001ff0
push 0x1001fd8
push dword [ebp + 0xc]
push edi
call fcn.01006cd1
lea eax, [ebp - 0x508]
push eax
push 0x100209c
push 0x1002020
push 0x100200c
push dword [ebp + 0xc]
push edi
call fcn.01006cd1
push ebx
lea eax, [ebp - 0x50c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jne 0x10076eb
lea eax, [ebp - 0x508]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x508]
push eax
push 1
push ebx
push 0x10020e8
push dword [ebp - 0x50c]
call edi
push 4
lea eax, [ebp - 0x514]
push eax
push 3
push ebx
push 0x1002104
push dword [ebp - 0x50c]
mov dword [ebp - 0x514], 1
call edi
push dword [ebp - 0x50c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
push eax
push 0x1002038
call esi
push eax
push 0x1002038
push dword [ebp + 0xc]
push dword [ebp - 0x510]
call fcn.01006c06
test eax, eax
je 0x10077b0
cmp byte [ebp - 0x108], bl
je 0x10077b0
push ebx
lea eax, [ebp - 0x50c]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10077b0
lea eax, [ebp - 0x108]
push eax
call fcn.01006b0b
cmp eax, ebx
mov dword [ebp - 0x510], eax
je 0x1007782
push eax
call esi
inc eax
push eax
push dword [ebp - 0x510]
push 1
push ebx
push 0x10020f4
push dword [ebp - 0x50c]
call edi
push dword [ebp - 0x510]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10077a4
lea eax, [ebp - 0x108]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push 0x10020f4
push dword [ebp - 0x50c]
call edi
push dword [ebp - 0x50c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01005857
leave
ret 8