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

Disassembly:
push 0xffffffffffffffff
push 0x64e576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x54e783
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push ebx
push str.ProxyServer
push edx
call esi
test eax, eax
je 0x54e5c7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov ecx, dword [0x6f7b78]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x28], ebx
call fcn.00623157
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push ebx
push str.ProxyServer
push edx
call esi
test eax, eax
je 0x54e62d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00622d8a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x54e661
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
push edx
push ebx
push ebx
push str.ProxyEnable
push eax
mov dword [edi], ebx
mov dword [esp + 0x2c], 4
call esi
test eax, eax
jne 0x54e661
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
push 0x3d
lea ecx, [esp + 0x10]
call fcn.00623177
or edi, 0xffffffff
cmp eax, edi
je 0x54e74f
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push edx
call fcn.0061f75b
cmp eax, edi
je 0x54e776
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0061f46f
push 0x3d
lea ecx, [esp + 0x10]
call fcn.00623177
inc eax
lea ecx, [esp + 0xc]
push eax
push ebx
call fcn.0061f46f
push 0x3a
lea ecx, [esp + 0x10]
call fcn.00623177
mov esi, eax
cmp esi, edi
je 0x54e776
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.0061f6e3
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 1
call fcn.00622ec3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00622d8a
inc esi
lea ecx, [esp + 0xc]
push esi
push ebx
call fcn.0061f46f
push 0x3b
lea ecx, [esp + 0x10]
call fcn.00623177
cmp eax, edi
je 0x54e728
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0061f6e3
mov dword [esp + 0x18], 1
mov byte [esp + 0x24], 2
jmp 0x54e72c
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x34]
push eax
call fcn.00622ec3
mov al, byte [esp + 0x18]
mov dword [esp + 0x24], ebx
test al, 1
je 0x54e820
lea ecx, [esp + 0x2c]
jmp 0x54e81b
mov edx, dword [esp + 0x2c]
push str.socks
push edx
call fcn.0060a000
add esp, 8
test eax, eax
je 0x54e776
push 0x3a
lea ecx, [esp + 0x10]
call fcn.00623177
mov esi, eax
cmp esi, edi
jne 0x54e799
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], edi
call fcn.00622d8a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.0061f6e3
mov ecx, dword [esp + 0x30]
push eax
mov byte [esp + 0x28], 3
call fcn.00622ec3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00622d8a
inc esi
lea ecx, [esp + 0xc]
push esi
push ebx
call fcn.0061f46f
push 0x3b
lea ecx, [esp + 0x10]
call fcn.00623177
cmp eax, edi
je 0x54e7fd
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0061f6e3
mov dword [esp + 0x18], 2
mov byte [esp + 0x24], 4
jmp 0x54e801
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x34]
push eax
call fcn.00622ec3
mov al, byte [esp + 0x18]
mov dword [esp + 0x24], ebx
test al, 2
je 0x54e820
lea ecx, [esp + 0x2c]
call fcn.00622d8a
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], edi
call fcn.00622d8a
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10