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

Disassembly:
push 0x8c
mov eax, 0x535dd7
call fcn.0049bb92
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x48], 7
push ebx
lea ecx, [ebp - 0x5c]
mov dword [edi], ebx
mov dword [ebp - 0x4c], ebx
call fcn.00403070
lea eax, [ebp - 0x98]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x98], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456ae1
lea eax, [ebp - 0x94]
mov dword [ebp - 0x90], ebx
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 4
push eax
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.ProxyEnable
push dword [ebp - 0x98]
call ebx
cmp dword [ebp - 0x90], 0
je 0x456ad5
push 0x1000
call fcn.0049aa41
mov dword [esp], 0x1000
mov esi, eax
push 0
push esi
call fcn.0049e130
add esp, 0xc
mov dword [ebp - 0x94], 0x1000
lea eax, [ebp - 0x94]
push eax
push esi
push 0
push 0
push 0x57fa50
push dword [ebp - 0x98]
call ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00405170
push esi
call fcn.0049aa3c
pop ecx
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x4c], 0
sete al
test al, al
jne 0x456db2
push 3
mov dword [ebp - 0x90], 0x3b
mov dword [ebp - 0x94], 0x3d
pop ebx
push 1
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00406420
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
push 0
mov esi, eax
mov dword [ebp - 0x18], 7
call fcn.00403070
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x456b54
push esi
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004026e0
push 0
lea ecx, [ebp - 0x5c]
call fcn.00403070
jmp 0x456b88
push esi
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00404000
push eax
lea ecx, [ebp - 0x2c]
call fcn.004040c0
lea ecx, [ebp - 0x8c]
call fcn.00403110
lea eax, [esi + 1]
push eax
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402630
push 1
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406420
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
push 0
mov esi, eax
mov dword [ebp - 0x30], 7
call fcn.00403070
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
je 0x456bee
push esi
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404000
push eax
lea ecx, [ebp - 0x44]
call fcn.004040c0
lea ecx, [ebp - 0x8c]
call fcn.00403110
lea eax, [esi + 1]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402630
and dword [ebp - 0x64], 0
lea ecx, [ebp - 0x74]
push 0
mov dword [ebp - 0x60], 7
call fcn.00403070
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], 0
sete al
test al, al
jne 0x456cea
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 0x57fb04
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004a689d
pop ecx
pop ecx
test eax, eax
je 0x456cea
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push str.socks
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004a689d
pop ecx
pop ecx
test eax, eax
je 0x456c7c
lea ecx, [ebp - 0x74]
call fcn.00403110
lea ecx, [ebp - 0x44]
call fcn.00403110
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00403110
cmp dword [ebp - 0x4c], 0
jne 0x456b07
jmp 0x456db2
push 1
push ecx
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x3a
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406420
mov esi, eax
lea ecx, [ebp - 0x2c]
push esi
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.00404000
push eax
lea ecx, [ebp - 0x74]
call fcn.004040c0
lea ecx, [ebp - 0x8c]
call fcn.00403110
lea eax, [esi + 1]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402630
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004a65cc
movzx esi, ax
mov eax, 0x438
pop ecx
jmp 0x456d57
push 1
push ecx
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x3a
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406420
mov esi, eax
lea ecx, [ebp - 0x2c]
push esi
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.00404000
push eax
lea ecx, [ebp - 0x74]
call fcn.004040c0
lea ecx, [ebp - 0x8c]
call fcn.00403110
lea eax, [esi + 1]
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402630
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004a65cc
pop ecx
push 0x50
movzx esi, ax
pop eax
push 2
pop ebx
test si, si
mov dword [edi], ebx
cmove esi, eax
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
lea eax, [edi + 4]
push 0x1005
push eax
call fcn.004a6b35
xor eax, eax
mov word [edi + 0x200e], si
add esp, 0xc
mov word [edi + 0x2010], ax
lea ecx, [ebp - 0x74]
mov word [edi + 0x2052], ax
mov word [edi + 0x2094], ax
call fcn.00403110
lea ecx, [ebp - 0x44]
call fcn.00403110
lea ecx, [ebp - 0x2c]
call fcn.00403110
lea ecx, [ebp - 0x5c]
call fcn.00403110
call fcn.0049bb4d
ret