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

Disassembly:
push 0xffffffffffffffff
push 0x4617c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, vtable.CRegistry.0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], SysStringLen
xor ebx, ebx
mov dword [esp + 0x34], ebx
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4216d7
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
push str.ProxyEnable
push edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov eax, dword [esp + 0x18]
je 0x42158b
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x42170f
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.ProxyServer
call fcn.0041cef0
test eax, eax
jne 0x4215db
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x20], ebp
je 0x4215c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x42165c
push str.http
push eax
call fcn.004491ab
add esp, 8
cmp eax, ebx
je 0x42165c
sub eax, dword [esi]
js 0x42165c
push eax
push 0x3d
mov ecx, esi
call fcn.004074c0
cmp eax, ebx
mov ecx, esi
jge 0x421634
call fcn.004035d0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0041ced0
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
add eax, 1
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00421750
mov byte [esp + 0x34], 1
push eax
mov ecx, esi
call fcn.004037b0
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x18]
call fcn.00403830
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jle 0x4216d7
push 0x3a
push eax
call fcn.0044965f
add esp, 8
cmp eax, ebx
je 0x4216d7
sub eax, dword [esi]
mov edi, eax
cmp edi, ebx
jle 0x4216d7
lea eax, [edi + 1]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00421750
mov byte [esp + 0x34], 2
mov edx, dword [esp + 0x14]
push edx
call fcn.0044896e
mov ecx, dword [esp + 0x40]
add esp, 4
push edi
lea edx, [esp + 0x1c]
mov dword [ecx], eax
push edx
mov ecx, esi
call fcn.004067a0
mov byte [esp + 0x34], 3
push eax
mov ecx, esi
call fcn.004037b0
mov byte [esp + 0x34], 2
lea ecx, [esp + 0x18]
call fcn.00403830
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x14]
call fcn.00403830
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov dword [esp + 0x20], ebp
je 0x4216f6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov dword [esp + 0x34], 0xffffffff
cmp edi, ebx
mov dword [esp + 0x20], ebp
je 0x4215c5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret