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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov dword [ebp - 0x41c], 0
mov ebx, ecx
mov dword [ebp - 0x418], eax
push esi
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x410], esi
mov byte [ebx], 0
mov word [eax], cx
lea eax, [ebp - 0x40c]
push eax
push 0x20019
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1006e2c3
push edi
push 0x200
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x408], 0x200
push eax
call fcn.10081800
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x408]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
push str.ProxyServer
push dword [ebp - 0x40c]
call edi
test eax, eax
jne 0x1006e13b
mov eax, dword [ebp - 0x408]
shr eax, 1
mov dword [ebp - 0x408], eax
add eax, eax
cmp eax, 0x200
jae 0x1006e2e0
xor ecx, ecx
mov esi, 1
mov word [ebp + eax - 0x204], cx
mov dword [ebp - 0x410], esi
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0x200
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push str.AutoConfigURL
push dword [ebp - 0x40c]
call edi
test eax, eax
jne 0x1006e1d2
mov eax, dword [ebp - 0x408]
shr eax, 1
mov dword [ebp - 0x408], eax
add eax, eax
cmp eax, 0x200
jae 0x1006e2e0
xor ecx, ecx
or esi, 2
mov word [ebp + eax - 0x404], cx
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x410], esi
call fcn.1006dfd0
test eax, eax
je 0x1006e1d2
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x3f6]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
je 0x1006e1d2
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 4
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push str.ProxyEnable
push dword [ebp - 0x40c]
call edi
lea eax, [ebp - 0x204]
push 0x3b
push eax
call fcn.1007bfd6
add esp, 8
test eax, eax
lea eax, [ebp - 0x204]
jne 0x1006e255
push 0x3a
push eax
xor esi, esi
call fcn.1007bfd6
mov edx, eax
add esp, 8
test edx, edx
je 0x1006e2b0
lea eax, [ebp - 0x204]
cmp eax, edx
je 0x1006e292
mov ecx, eax
mov edi, edi
mov al, byte [ecx]
lea ecx, [ebp - 0x204]
mov byte [ebx + esi], al
inc esi
lea ecx, [ecx + esi*2]
cmp ecx, edx
jne 0x1006e240
jmp 0x1006e292
push str.http
push eax
call fcn.1007c478
mov edi, eax
add esp, 8
test edi, edi
je 0x1006e2b0
add edi, 0xa
xor esi, esi
push 0x3a
push edi
call fcn.1007bfd6
mov edx, eax
add esp, 8
test edx, edx
je 0x1006e2b0
cmp edi, edx
je 0x1006e292
mov ecx, edi
mov al, byte [ecx]
mov byte [ebx + esi], al
inc esi
lea ecx, [edi + esi*2]
cmp ecx, edx
jne 0x1006e285
xor eax, eax
mov byte [ebx + esi], 0
mov word [edx], ax
lea eax, [edx + 2]
push eax
call fcn.1007c1e8
mov ecx, dword [ebp - 0x418]
add esp, 4
mov word [ecx], ax
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x410]
pop edi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x41c], eax
cmove esi, eax
xor ecx, ebp
mov eax, esi
pop esi
pop ebx
call fcn.1007aa10
mov esp, ebp
pop ebp
ret
call fcn.1007bb23
int3