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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x2d]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x34], bl
call fcn.005306b0
add esp, 0xc
cmp edi, ebx
je 0x426120
mov eax, edi
call fcn.004ccb8b
cmp dword [ebp + 8], ebx
mov dword [esp + 0x24], str.https
jne 0x426135
mov dword [esp + 0x24], str.http
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x426169
push str._GetLastError_
push str.:8:GetWindowsProxy___FAILED:_RegOpenKeyEx___FAILED:__s
call fcn.0042b70b
pop ecx
pop ecx
xor eax, eax
jmp 0x42630f
mov esi, 0x104
push esi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push str.ProxyServer
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x102
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4262f2
cmp dword [esp + 0x14], ebx
jne 0x4261c5
lea eax, [esp + 0x28]
push eax
push str.:8:GetWindowsProxy___encountered_a_problem:_dwDataSize__0_but_RegQueryValueEx___succeeded____s_
call fcn.0042b70b
pop ecx
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x4261cd
mov dword [esp + 0x10], 1
lea eax, [esp + 0x28]
push 0x55fd54
push eax
call fcn.00531210
test eax, eax
pop ecx
pop ecx
je 0x4262ab
lea eax, [esp + 0x20]
push eax
mov edi, 0x55fd58
push edi
lea eax, [esp + 0x30]
mov dword [esp + 0x28], ebx
push eax
jmp 0x426213
push dword [esp + 0x24]
push eax
call fcn.005318fe
pop ecx
pop ecx
test eax, eax
lea eax, [esp + 0x20]
push eax
push edi
push ebx
je 0x426221
call fcn.0053341c
add esp, 0xc
cmp eax, ebx
jne 0x4261fc
jmp 0x42622f
call fcn.0053341c
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x426271
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push str.ProxyServer
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x28]
push str.:2:GetWindowsProxy___FAILED:_No__s_proxy_exists:__s
call fcn.0042bd38
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, ebx
je 0x4262fd
jmp 0x4262f8
push esi
push dword [esp + 0x20]
push edi
call fcn.004708b9
add esp, 0xc
mov edx, eax
call fcn.004ccc0d
test eax, eax
je 0x426301
push str.genpt
push edi
call fcn.004cd9f0
pop ecx
pop ecx
test eax, eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
je 0x4262a8
push str.10.26.98.97:80
jmp 0x4262ea
push edi
jmp 0x4262ea
push esi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004708b9
add esp, 0xc
mov edx, eax
call fcn.004ccc0d
test eax, eax
je 0x426301
lea eax, [esp + 0x28]
push str.genpt
push eax
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
mov ecx, esi
je 0x4262e3
push str.10.26.98.97:80
jmp 0x4262e8
lea eax, [esp + 0x28]
push eax
mov eax, edi
call fcn.004ccc3f
pop ecx
jmp 0x426301
cmp edi, ebx
je 0x4262fd
mov eax, edi
call fcn.004ccb8b
mov dword [esp + 0x10], ebx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret