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

Disassembly:
push 0x1c
mov eax, 0x4a2a1e
call fcn.00476f82
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [esi], ebx
call fcn.00401d20
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
mov dword [ebp - 4], ebx
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45a8b3
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push str.ProxyEnable
push dword [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 4
call edi
cmp dword [ebp - 0x18], ebx
je 0x45a78a
push 0x800
lea ecx, [ebp - 0x14]
call fcn.00401610
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
push ebx
push str.ProxyServer
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0x1000
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040d47b
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45a8b3
push ebx
push 0x3b
lea ecx, [ebp - 0x14]
call fcn.00420d21
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00401d20
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
jne 0x45a7cc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401000
lea ecx, [ebp - 0x14]
call fcn.00401849
jmp 0x45a7ff
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d40b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401000
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00406df8
lea eax, [edi + 1]
lea ebx, [ebp - 0x14]
call fcn.0045aa8e
xor ebx, ebx
push ebx
push 0x3d
lea ecx, [ebp - 0x10]
call fcn.00420d21
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00401d20
cmp edi, 0xffffffff
mov byte [ebp - 4], 3
je 0x45a850
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d40b
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401000
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00406df8
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.0045aa8e
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.00401d20
lea eax, [ebp - 0x1c]
push str.http
push eax
mov byte [ebp - 4], 5
call fcn.00420e22
test al, al
pop ecx
pop ecx
jne 0x45a93b
lea ecx, [ebp - 0x1c]
call fcn.00420cd9
test al, al
jne 0x45a93b
lea eax, [ebp - 0x1c]
push str.socks
push eax
call fcn.00420e22
test al, al
pop ecx
pop ecx
jne 0x45a8c8
lea ecx, [ebp - 0x18]
call fcn.00406df8
lea ecx, [ebp - 0x1c]
call fcn.00406df8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00406df8
lea ecx, [ebp - 0x14]
call fcn.00420cd9
test al, al
je 0x45a798
jmp 0x45a9fb
push ebx
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.00420d21
mov edi, eax
cmp edi, ebx
jl 0x45a91f
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d40b
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00401000
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00406df8
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.0045aa8e
mov ecx, ebx
call fcn.00413706
push eax
call sub.MSVCR80.dll__wtoi
pop ecx
movzx edi, ax
xor ebx, ebx
jmp 0x45a92d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401000
xor edi, edi
cmp di, bx
jne 0x45a937
mov edi, 0x438
push 3
jmp 0x45a9aa
push ebx
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.00420d21
mov edi, eax
cmp edi, ebx
jl 0x45a992
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d40b
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00401000
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00406df8
lea eax, [edi + 1]
lea ebx, [ebp - 0x10]
call fcn.0045aa8e
mov ecx, ebx
call fcn.00413706
push eax
call sub.MSVCR80.dll__wtoi
pop ecx
movzx edi, ax
xor ebx, ebx
jmp 0x45a9a0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401000
xor edi, edi
cmp di, bx
jne 0x45a9a8
push 0x50
pop edi
push 2
pop eax
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.00413706
push eax
lea eax, [esi + 4]
push 0x1005
push eax
call sub.MSVCR80.dll_wcscpy_s
add esp, 0xc
lea ecx, [ebp - 0x18]
mov word [esi + 0x200e], di
mov word [esi + 0x2010], bx
mov word [esi + 0x2052], bx
mov word [esi + 0x2094], bx
call fcn.00406df8
lea ecx, [ebp - 0x1c]
call fcn.00406df8
lea ecx, [ebp - 0x10]
call fcn.00406df8
lea ecx, [ebp - 0x14]
call fcn.00406df8
call fcn.00477021
ret