Function at 0x100712b
Capabilities:
Get proxy
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x100923c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor ebx, ebx
lea eax, [ebp - 0x80c]
push eax
push 1
push ebx
mov edi, 0x10021c0
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x808], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x810], 0x400
mov dword [ebp - 0x814], ebx
mov byte [ebp - 0x404], bl
mov byte [ebp - 0x804], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10071dc
cmp dword [ebp - 0x80c], ebx
je 0x10071dc
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x10022b0
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], ebx
mov eax, dword [ebp - 0x814]
dec eax
je 0x10072a0
dec eax
jne 0x10074e8
lea eax, [ebp - 0x80c]
push eax
push 1
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10074e8
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push 0x1002074
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007295
cmp byte [ebp - 0x404], bl
je 0x1007295
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1007295
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x404]
push eax
push 1
push ebx
push 0x1002110
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x80c]
jmp 0x10074e2
push 0x1001ed0
push edi
push esi
call fcn.01006826
test eax, eax
je 0x10072f8
push 0x1001eec
push edi
push esi
call fcn.01006826
test eax, eax
je 0x10072f8
push 0x1001f08
push edi
push esi
call fcn.01006826
test eax, eax
je 0x10072f8
push 0x1001f2c
push edi
push esi
call fcn.01006826
test eax, eax
je 0x10072f8
push 0x1001f48
push 0x1002190
push esi
call fcn.01006826
test eax, eax
jne 0x10073b5
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x810], 0x400
call fcn.01006771
cmp eax, 1
jne 0x10073b5
lea eax, [ebp - 0x404]
test eax, eax
je 0x10073b5
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10073b5
cmp dword [ebp - 0x808], ebx
je 0x10073b5
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x404]
push eax
push 1
push ebx
push 0x10020e8
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x814]
push eax
push 3
push ebx
push 0x1002104
push dword [ebp - 0x808]
mov dword [ebp - 0x814], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x808], ebx
push 0x10022a4
push edi
push esi
call fcn.01006826
test eax, eax
jne 0x10074e8
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x10020ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10074e8
cmp dword [ebp - 0x808], ebx
je 0x10074e8
lea eax, [ebp - 0x80c]
push eax
push 1
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10074dc
cmp dword [ebp - 0x80c], ebx
je 0x10074dc
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x818]
push eax
push ebx
push 0x10022a4
push dword [ebp - 0x80c]
mov dword [ebp - 0x810], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10074ca
lea eax, [ebp - 0x804]
test eax, eax
je 0x10074ca
cmp dword [ebp - 0x818], 1
jne 0x10074ca
cmp byte [ebp - 0x804], bl
je 0x10074ca
push eax
call fcn.01006b0b
mov esi, eax
cmp esi, ebx
je 0x10074a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push 0x10020f4
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10074ca
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x804]
push eax
push 1
push ebx
push 0x10020f4
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x80c], ebx
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.01005857
leave
ret