Function at 0x4f09f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1470]
mov eax, 0x1470
call fcn.005f9ca0
push 0xffffffffffffffff
push 0x62e593
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x146c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x370]
call fcn.004f7f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004024e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004024e0
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
cmp byte [ebp + 0x1478], bl
jne 0x4f0b99
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x676ff8
lea ecx, [ebp - 0x370]
call fcn.004f90b0
test al, al
je 0x4f0b99
cmp dword [ebp - 0x3c], ebx
je 0x4f0b99
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], ebx
je 0x4f0b99
xor edi, edi
mov dword [ebp - 0x2c], edi
mov eax, 8
mov ecx, str.127.0.0.
mov edx, esi
cmp eax, 4
jb 0x4f0adf
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x4f0ae9
sub eax, 4
add ecx, 4
add edx, 4
xor ebx, ebx
jmp 0x4f0ac7
mov edi, 1
mov dword [ebp - 0x2c], edi
jmp 0x4f0aeb
xor ebx, ebx
cmp dword [esi], 0x2e302e30
jne 0x4f0b07
cmp byte [esi + 4], 0x30
jne 0x4f0b07
cmp byte [esi + 5], 0x2e
jne 0x4f0b07
mov edi, 1
mov dword [ebp - 0x2c], edi
push str.localhost
push esi
call fcn.005fabb9
add esp, 8
test eax, eax
jne 0x4f0b22
mov dword [ebp - 0x2c], 1
jmp 0x4f0b99
cmp edi, ebx
jne 0x4f0b99
mov dword [ebp - 0x34], 0x100
push 0x100
push ebx
lea eax, [ebp + 0x136c]
push eax
call fcn.005f8cb0
add esp, 0xc
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp + 0x136c]
push edx
push ebx
push ebx
push str.HttpProxy
mov eax, dword [0x70f604]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f0b92
lea eax, [ebp + 0x136c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f0b70
sub eax, edx
je 0x4f0b92
lea ecx, [ebp + 0x136c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.005fabb9
add esp, 8
test eax, eax
je 0x4f0b99
mov dword [ebp - 0x24], 1
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f0c50
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push str.AutoConfigURL
mov edx, dword [ebp - 0x28]
push edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4f0c46
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402830
mov esi, eax
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push ebx
push str.AutoConfigURL
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
jne 0x4f0c46
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4f0c04
sub eax, edx
je 0x4f0c46
mov ecx, esi
mov eax, dword [0x710080]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4f0c36
cmp dl, bl
je 0x4f0c32
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4f0c36
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x4f0c16
xor eax, eax
jmp 0x4f0c3b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4f0c46
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 1
push 4
lea ecx, [ebp - 0x38]
push ecx
push 4
push ebx
push str.FSPSSettingsChecked
mov edx, dword [0x70f604]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call esi
cmp dword [ebp - 0x24], ebx
jne 0x4f0cdb
cmp dword [ebp - 0x30], ebx
jne 0x4f0edc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402550
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x370]
call fcn.004f0710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x146c]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x1470
mov esp, ebp
pop ebp
ret 4
push 0x50004
mov eax, dword [0x710938]
push eax
mov ecx, dword [0x710934]
push ecx
push ebx
call fcn.00469b60
add esp, 0x10
cmp eax, 6
jne 0x4f0c82
mov dword [ebp - 0x18], 1
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push ebx
push str.UseHttpProxy
mov edx, dword [0x70f604]
push edx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpProxy
mov eax, dword [0x70f604]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4f0d50
inc eax
push eax
push ecx
push 1
push ebx
push str.HttpPort
mov ecx, dword [0x70f604]
push ecx
call esi
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push str.ftp
lea ecx, [ebp - 0x370]
call fcn.004f90b0
test al, al
je 0x4f0dbf
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push ebx
push str.UseFtpProxy
mov edx, dword [0x70f604]
push edx
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4f0da1
inc eax
push eax
push ecx
push 1
push ebx
push str.FtpProxy
mov eax, dword [0x70f604]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4f0dbf
inc eax
push eax
push ecx
push 1
push ebx
push str.FtpPort
mov ecx, dword [0x70f604]
push ecx
call esi
push ebx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0x676f90
lea ecx, [ebp - 0x370]
call fcn.004f90b0
test al, al
je 0x4f0e2e
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push ebx
push str.UseHttpsProxy
mov edx, dword [0x70f604]
push edx
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4f0e10
inc eax
push eax
push ecx
push 1
push ebx
push str.HttpsProxy
mov eax, dword [0x70f604]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x4f0e2e
inc eax
push eax
push ecx
push 1
push ebx
push str.HttpsPort
mov ecx, dword [0x70f604]
push ecx
call esi
mov dword [0x7100ac], 0x10
cmp dword [ebp - 0x30], ebx
je 0x4f0e70
mov edx, dword [ebp - 0x20]
push edx
mov ecx, 0x710078
call fcn.004bca50
mov dword [0x710088], eax
mov eax, dword [ebp - 0x20]
push eax
push 0x64edec
push 0x710084
call fcn.00402f60
add esp, 0xc
mov dword [0x7100ac], 8
push ebx
push ebx
push 3
push 1
push ebx
mov ecx, dword [0x710ae8]
push ecx
lea ecx, [ebp]
call fcn.00507300
mov byte [ebp - 4], 6
lea ecx, [ebp]
call fcn.005e47cd
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00506e30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00402550
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x370]
call fcn.004f0710
mov dword [ebp - 4], 0xffffffff
jmp 0x4f0cb4
lea ecx, [ebp - 0x18]
call fcn.004024e0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [0x710f34]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402f60
push 0x50004
mov edx, dword [0x710938]
push edx
mov eax, dword [ebp - 0x18]
push eax
push ebx
call fcn.00469b60
add esp, 0x1c
cmp eax, 6
je 0x4f0f2a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00402550
jmp 0x4f0c82
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00402550
jmp 0x4f0e38