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

Disassembly:
push 0xffffffffffffffff
push 0x65320a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x53e0d8
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push ebx
push str.ProxyServer
push edx
call esi
test eax, eax
je 0x53e0ef
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
lea ecx, [esp + 0x10]
call fcn.00402500
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402850
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
push ebx
push ebx
push str.ProxyServer
push eax
call esi
test eax, eax
je 0x53e155
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402570
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
mov edi, dword [esp + 0x3c]
cmp edi, ebx
je 0x53e189
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push str.ProxyEnable
push ecx
mov dword [edi], ebx
mov dword [esp + 0x34], 4
call esi
test eax, eax
jne 0x53e189
mov edx, dword [esp + 0x3c]
mov dword [edi], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
or edi, 0xffffffff
cmp eax, ebx
jle 0x53e300
push 0x3d
push ecx
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
je 0x53e300
mov ecx, dword [esp + 0x10]
sub eax, ecx
cmp eax, edi
je 0x53e300
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x53e1df
cmp dword [ecx - 0xc], ebx
jl 0x53e1df
push eax
push ecx
call fcn.006159fb
add esp, 8
cmp eax, ebx
je 0x53e1df
sub eax, dword [esp + 0x10]
cmp eax, edi
jne 0x53e203
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x10]
call fcn.00402570
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00500f00
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jg 0x53e21b
mov eax, edi
jmp 0x53e232
push 0x3d
push eax
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
jne 0x53e22e
mov eax, edi
jmp 0x53e232
sub eax, dword [esp + 0x10]
inc eax
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00500f00
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jle 0x53e1df
push 0x3a
push eax
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
je 0x53e1df
sub eax, dword [esp + 0x10]
mov esi, eax
cmp esi, edi
je 0x53e1df
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.004f7ba0
mov byte [esp + 0x28], 1
mov ecx, dword [esp + 0x34]
push eax
call fcn.00405980
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x30]
call fcn.00402570
inc esi
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.00500f00
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jle 0x53e2d9
push 0x3b
push eax
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
je 0x53e2d9
sub eax, dword [esp + 0x10]
cmp eax, edi
je 0x53e2d9
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.004f7ba0
mov byte [esp + 0x28], 2
mov dword [esp + 0x14], 1
jmp 0x53e2dd
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
call fcn.00405980
mov dword [esp + 0x28], ebx
test byte [esp + 0x14], 1
je 0x53e3e6
and dword [esp + 0x14], 0xfffffffe
jmp 0x53e3dd
mov edx, dword [esp + 0x30]
push str.socks
push edx
call fcn.006172ee
add esp, 8
test eax, eax
je 0x53e1df
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
jle 0x53e1df
push 0x3a
push eax
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
je 0x53e1df
sub eax, dword [esp + 0x10]
mov esi, eax
cmp esi, edi
je 0x53e1df
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x18]
call fcn.004f7ba0
mov byte [esp + 0x28], 3
mov ecx, dword [esp + 0x34]
push eax
call fcn.00405980
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x30]
call fcn.00402570
inc esi
push esi
push ebx
lea ecx, [esp + 0x18]
call fcn.00500f00
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x53e3bf
push 0x3b
push ecx
call fcn.0061bdf3
add esp, 8
cmp eax, ebx
je 0x53e3bf
sub eax, dword [esp + 0x10]
cmp eax, edi
je 0x53e3bf
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call fcn.004f7ba0
mov byte [esp + 0x28], 4
mov dword [esp + 0x14], 2
jmp 0x53e3c3
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x38]
push eax
call fcn.00405980
mov dword [esp + 0x28], ebx
test byte [esp + 0x14], 2
je 0x53e3e6
and dword [esp + 0x14], 0xfffffffd
lea ecx, [esp + 0x30]
call fcn.00402570
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x10]
call fcn.00402570
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10