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

Disassembly:
push 0xffffffffffffffff
push 0x57b4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4b3b0a
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
push eax
push eax
push eax
push 0x5b62d8
push edx
call edi
test eax, eax
je 0x4b3730
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.005308fb
mov edx, dword [esp + 0x18]
add edx, 1
push edx
mov esi, eax
push 0
push esi
call fcn.00557890
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push 0x5b62d8
push ecx
call edi
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0048c590
push esi
mov dword [esp + 0x34], 0
call fcn.005308f6
mov eax, dword [esp + 0x24]
add esp, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00450b00
mov byte [esp + 0x30], 1
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b37b2
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov bl, 2
mov byte [esp + 0x30], bl
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4b3961
jl 0x4b384f
push 0x5b62e4
push ecx
call fcn.00552eeb
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4b384f
sub eax, ecx
sar eax, 1
js 0x4b384f
cmp dword [ecx - 0xc], 0
jge 0x4b3800
or edi, 0xffffffff
jmp 0x4b381f
push 0x5b62e4
push ecx
call fcn.00552eeb
add esp, 8
test eax, eax
jne 0x4b3817
or edi, 0xffffffff
jmp 0x4b381f
sub eax, dword [esp + 0x10]
sar eax, 1
mov edi, eax
add edi, 5
mov ecx, edi
mov edx, 0x5984c8
lea esi, [esp + 0x10]
call fcn.0040dcb0
mov esi, eax
mov ecx, esi
sub ecx, edi
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004269f0
mov byte [esp + 0x30], 3
jmp 0x4b388f
cmp dword [ecx - 0xc], 0
jge 0x4b385a
or esi, 0xffffffff
jmp 0x4b3879
push 0x5984c8
push ecx
call fcn.00552eeb
add esp, 8
test eax, eax
jne 0x4b3871
or esi, 0xffffffff
jmp 0x4b3879
sub eax, dword [esp + 0x10]
sar eax, 1
mov esi, eax
push esi
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004269f0
mov byte [esp + 0x30], 4
push eax
lea ecx, [esp + 0x20]
call fcn.00402310
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call fcn.004a4690
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1c]
add ecx, 0x40
push edx
call fcn.00402310
test esi, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
lea edi, [esi + 1]
jl 0x4b3903
cmp esi, eax
jg 0x4b3903
lea eax, [ecx + esi*2]
push 0x5b61b0
push eax
call fcn.00552eeb
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4b3903
sub eax, ecx
sar eax, 1
test eax, eax
jl 0x4b3903
sub eax, edi
push eax
push edi
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004269f0
mov byte [esp + 0x30], 5
jmp 0x4b391c
mov eax, dword [ecx - 0xc]
sub eax, edi
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call fcn.00401a60
mov byte [esp + 0x30], 6
push eax
lea ecx, [esp + 0x20]
call fcn.00402310
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call fcn.004a4690
mov edi, dword [esp + 0x1c]
push edi
call fcn.00552f5b
mov esi, dword [esp + 0x3c]
add esp, 4
push 0x59c0c8
lea ecx, [esi + 0x48]
mov dword [esi + 0x44], eax
call fcn.004021d0
push 0x5b62f0
lea ecx, [esi + 0x3c]
call fcn.004021d0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push str.ProxyOverride
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4b39a5
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4b3ab1
mov ecx, dword [esp + 0x14]
add ecx, 1
push ecx
call fcn.005308fb
mov edx, dword [esp + 0x18]
add edx, 1
push edx
mov esi, eax
push 0
push esi
call fcn.00557890
mov ecx, dword [esp + 0x28]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push str.ProxyOverride
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
jne 0x4b39e9
xor eax, eax
jmp 0x4b39fb
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b39f0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0046d210
push esi
call fcn.005308f6
mov edx, dword [esp + 0x24]
add esp, 4
push edx
lea ecx, [esp + 0x28]
call fcn.00450b00
mov byte [esp + 0x30], 7
mov esi, dword [esp + 0x38]
lea ecx, [esi + 4]
push eax
call fcn.00402310
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b3a53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x5c], 0
jne 0x4b3a91
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push str.ProxyEnable
push eax
mov dword [esp + 0x50], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b3a91
mov eax, 1
cmp dword [esp + 0x38], eax
jne 0x4b3a91
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b3abd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b3ae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b3b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4