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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x1006b5d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
lea edx, [ebp - 0x508]
push edx
push 0xf003f
push 0
push 0x10058650
mov esi, 4
push 0x80000001
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x50c], 1
mov dword [ebp - 0x524], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e3cc
mov dword [ebp - 0x518], eax
lea eax, [ebp - 0x510]
push eax
mov eax, dword [ebp - 0x508]
lea ecx, [ebp - 0x518]
push ecx
lea edx, [ebp - 0x524]
push edx
push 0
push 0x10058644
mov dword [ebp - 0x510], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
call esi
test eax, eax
jne 0x1000e590
cmp dword [ebp - 0x518], eax
je 0x1000e590
lea ecx, [ebp - 0x510]
push ecx
mov ecx, dword [ebp - 0x508]
lea edx, [ebp - 0x504]
push edx
lea eax, [ebp - 0x50c]
push eax
push 0
push 0x10058638
push ecx
mov dword [ebp - 0x510], 0x400
call esi
test eax, eax
je 0x1000e3dd
mov edx, dword [ebp - 0x508]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x508]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.kernel32.dll_lstrlen]
lea ecx, [ebp - 0x504]
push ecx
call edi
test eax, eax
jg 0x1000e410
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
push ebx
push 0x80
lea edx, [ebp - 0x84]
push 0
push edx
call fcn.1003ae80
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x504]
push 0x10058634
push ecx
call fcn.1003dcad
mov ebx, dword [sym.imp.kernel32.dll_lstrcpy]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1000e489
jmp 0x1000e450
push 0x1005862c
push esi
call fcn.1003bb90
add esp, 8
test eax, eax
jne 0x1000e47f
lea edx, [ebp - 0x514]
push edx
push 0x10058634
push eax
call fcn.1003dcad
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000e450
jmp 0x1000e489
push esi
lea eax, [ebp - 0x84]
push eax
call ebx
lea ecx, [ebp - 0x84]
push ecx
call edi
test eax, eax
jg 0x1000e4c0
push 0x8c1
call fcn.1000a040
push eax
push 0
push 2
call fcn.10009dd0
add esp, 0x10
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x514]
push edx
lea eax, [ebp - 0x84]
push 0x10058628
push eax
xor esi, esi
call fcn.1003dcad
mov edi, dword [ebp - 0x50c]
add esp, 0xc
test eax, eax
je 0x1000e526
mov ecx, esi
sub ecx, 0
je 0x1000e4fe
dec ecx
jne 0x1000e50b
push eax
call fcn.1003b20a
add esp, 4
mov edi, eax
jmp 0x1000e50b
add eax, 5
push eax
lea ecx, [ebp - 0x104]
push ecx
call ebx
lea edx, [ebp - 0x514]
push edx
push 0x10058628
push 0
inc esi
call fcn.1003dcad
add esp, 0xc
test eax, eax
jne 0x1000e4e7
test edi, edi
jle 0x1000e57a
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
test eax, eax
je 0x1000e57a
mov edx, dword [ebp - 0x520]
lea ecx, [ebp - 0x104]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x51c]
mov dword [eax], edi
mov edx, dword [0x10077fb0]
mov eax, dword [edx + 0x4c]
lea ecx, [ebp - 0x104]
push ecx
add eax, 0x1e38
push eax
call ebx
mov ecx, dword [0x10077fb0]
mov edx, dword [ecx + 0x4c]
mov dword [edx + 0x1e78], edi
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x508]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1003b1fb
mov esp, ebp
pop ebp
ret