Function at 0x43f20f
Capabilities:
Get proxy

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4ab1a4]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x24
mov eax, 0x488f07
call fcn.0045cbb7
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x420]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x424]
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0x104
mov esi, 0x206
push esi
lea eax, [ebp + 0x20a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp + 0x208], bx
call fcn.00455160
push esi
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.00455160
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, closesocket
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call esi
cmp eax, ebx
jne 0x43f2d9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.004406b5
cmp dword [ebp - 0x10], ebx
je 0x43f2d9
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
je 0x43f2ed
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], ebx
je 0x43f416
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x43f416
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
push str.ProxyServer
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 0x30]
lea edi, [ebp + 0x208]
call fcn.0043765d
cmp eax, ebx
jne 0x43f408
cmp word [ebp + 0x208], bx
je 0x43f408
mov eax, edi
push 0x104
push eax
call fcn.00457ea5
mov esi, dword [ebp - 0x2c]
mov edi, str.socks
lea eax, [ebp + 0x208]
push edi
push eax
mov dword [esi], 2
call fcn.0045717a
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x43f392
mov dword [esi], 3
push edi
call fcn.00454255
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp]
push eax
call fcn.00440544
jmp 0x43f3c8
mov edi, str.http
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.0045717a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
mov dword [esi], 2
jne 0x43f37a
lea eax, [ebp + 0x208]
push eax
lea eax, [ebp]
push 0x104
push eax
call fcn.00456f6d
add esp, 0xc
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401860
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea ebx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0043f43e
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040154a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x43f408
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x10], ebx
je 0x43f416
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0045447b
add ebp, 0x414
leave
ret 0xc