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

Disassembly:
push 0xffffffffffffffff
push 0x625df6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x14]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f9ea2
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push str.ProxyServer
push edx
call ebp
test eax, eax
je 0x4f9d19
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov ecx, dword [0x6cd768]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00603e09
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebx
push ebx
push str.ProxyServer
push edx
call ebp
test eax, eax
je 0x4f9d80
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00603a3c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
push 0x3d
lea ecx, [esp + 0x14]
call fcn.00603e29
or edi, 0xffffffff
cmp eax, edi
je 0x4f9e6e
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.005fc4e5
cmp eax, edi
je 0x4f9e95
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.005fc1f9
push 0x3d
lea ecx, [esp + 0x14]
call fcn.00603e29
inc eax
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.005fc1f9
push 0x3a
lea ecx, [esp + 0x14]
call fcn.00603e29
mov esi, eax
cmp esi, edi
je 0x4f9e95
lea edx, [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.005fc46d
mov ecx, dword [esp + 0x34]
push eax
mov byte [esp + 0x2c], 1
call fcn.00603b75
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00603a3c
inc esi
lea ecx, [esp + 0x10]
push esi
push ebx
call fcn.005fc1f9
push 0x3b
lea ecx, [esp + 0x14]
call fcn.00603e29
cmp eax, edi
je 0x4f9e47
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.005fc46d
mov dword [esp + 0x18], 1
mov byte [esp + 0x28], 2
jmp 0x4f9e4b
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
call fcn.00603b75
mov al, byte [esp + 0x18]
mov dword [esp + 0x28], ebx
test al, 1
je 0x4f9f40
lea ecx, [esp + 0x30]
jmp 0x4f9f3b
mov ecx, dword [esp + 0x30]
push str.socks
push ecx
call fcn.005e7640
add esp, 8
test eax, eax
je 0x4f9e95
push 0x3a
lea ecx, [esp + 0x14]
call fcn.00603e29
mov esi, eax
cmp esi, edi
jne 0x4f9eb9
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call fcn.00603a3c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
lea edx, [esp + 0x30]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.005fc46d
mov ecx, dword [esp + 0x34]
push eax
mov byte [esp + 0x2c], 3
call fcn.00603b75
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call fcn.00603a3c
inc esi
lea ecx, [esp + 0x10]
push esi
push ebx
call fcn.005fc1f9
push 0x3b
lea ecx, [esp + 0x14]
call fcn.00603e29
cmp eax, edi
je 0x4f9f1d
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.005fc46d
mov dword [esp + 0x18], 2
mov byte [esp + 0x28], 4
jmp 0x4f9f21
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
call fcn.00603b75
mov al, byte [esp + 0x18]
mov dword [esp + 0x28], ebx
test al, 2
je 0x4f9f40
lea ecx, [esp + 0x30]
call fcn.00603a3c
mov esi, dword [esp + 0x3c]
cmp esi, ebx
je 0x4f9f74
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
push edx
push ebx
push ebx
push str.ProxyEnable
push eax
mov dword [esi], ebx
mov dword [esp + 0x34], 4
call ebp
test eax, eax
jne 0x4f9f74
mov ecx, dword [esp + 0x30]
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], edi
call fcn.00603a3c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10