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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
push 0
push eax
call fcn.004e4da0
add esp, 0xc
test esi, esi
je 0x41b266
test edi, edi
jle 0x41b266
push esi
call fcn.0049e2d6
pop ecx
cmp dword [ebp + 0x10], 0
mov ecx, str.https
mov eax, str.http
cmovne eax, ecx
xor ebx, ebx
mov dword [ebp - 0x11c], eax
inc ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b2b6
push str._GetLastError_
push str.:8:GetWindowsProxy___FAILED:_RegOpenKeyEx___FAILED:__s
call fcn.004255b9
pop ecx
pop ecx
xor eax, eax
jmp 0x41b3ea
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004e4da0
add esp, 0xc
mov dword [ebp - 0x114], 0x102
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.ProxyServer
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41b3cb
cmp dword [ebp - 0x114], eax
jne 0x41b31e
lea eax, [ebp - 0x108]
push eax
push str.:8:GetWindowsProxy___encountered_a_problem:_dwDataSize__0_but_RegQueryValueEx___succeeded____s_
call fcn.004255b9
pop ecx
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x108]
push 0x515eec
push eax
call fcn.004e4f00
pop ecx
pop ecx
test eax, eax
je 0x41b44a
and dword [ebp - 0x110], 0
lea eax, [ebp - 0x110]
push eax
push 0x515ef0
lea eax, [ebp - 0x108]
push eax
jmp 0x41b379
push dword [ebp - 0x11c]
push eax
call fcn.004ee718
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x110]
push eax
push 0x515ef0
push 0
je 0x41b3f9
call fcn.004ef2b1
add esp, 0xc
test eax, eax
jne 0x41b355
cmp dword [0x58b4f0], 0
je 0x41b3cb
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.ProxyServer
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
push str.:2:GetWindowsProxy___FAILED:_No__s_proxy_exists:__s
call fcn.00425c08
add esp, 0xc
test esi, esi
je 0x41b3da
test edi, edi
jle 0x41b3da
push esi
call fcn.0049e2d6
pop ecx
xor ebx, ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret
call fcn.004ef2b1
add esp, 0xc
mov dword [ebp - 0x118], eax
test eax, eax
je 0x41b385
push edi
push esi
push eax
call fcn.00463eb7
push eax
call fcn.0049f486
add esp, 0x10
test eax, eax
je 0x41b3dc
push str.genpt
push dword [ebp - 0x118]
call fcn.004a0f55
pop ecx
pop ecx
push edi
test eax, eax
je 0x41b442
push str.10.26.98.97:80
jmp 0x41b488
push dword [ebp - 0x118]
jmp 0x41b488
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00463eb7
push eax
call fcn.0049f486
add esp, 0x10
test eax, eax
je 0x41b3dc
lea eax, [ebp - 0x108]
push str.genpt
push eax
call fcn.004a0f55
pop ecx
pop ecx
push edi
test eax, eax
jne 0x41b43b
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.004a11a5
add esp, 0xc
jmp 0x41b3dc