Function at 0x4fa100
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x625e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6cd768]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
lea ecx, [esi + 0x1b8]
mov dword [esp + 0x34], ebx
call fcn.00600d51
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x2e4]
push edx
call fcn.00497880
mov al, byte [esi + 0x33b]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x4fa163
mov dword [esp + 0x10], 1
mov ecx, dword [0x6d2354]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push ebx
push str.bUseSocks
push ecx
call edi
mov eax, dword [esi + 0x320]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa1aa
mov edx, dword [0x6d2354]
inc ecx
push ecx
push eax
push 1
push ebx
push str.SocksHost
push edx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4fa1bd
mov eax, dword [0x6d2354]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.SocksHost
push eax
call ebp
mov eax, dword [esi + 0x324]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa1e0
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.SocksPort
push ecx
call edi
jmp 0x4fa1ee
mov edx, dword [0x6d2354]
push str.SocksPort
push edx
call ebp
mov eax, dword [esi + 0x328]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa210
inc ecx
push ecx
push eax
mov eax, dword [0x6d2354]
push 1
push ebx
push str.SocksUser
push eax
call edi
jmp 0x4fa21e
mov ecx, dword [0x6d2354]
push str.SocksUser
push ecx
call ebp
mov eax, dword [esi + 0x32c]
cmp dword [eax - 8], ebx
je 0x4fa240
mov edx, dword [0x6d2354]
push eax
push str.SocksPass
push edx
call fcn.005b3170
add esp, 0xc
jmp 0x4fa24d
mov eax, dword [0x6d2354]
push str.SocksPass
push eax
call ebp
mov edx, dword [0x6d2354]
lea ecx, [esi + 0x330]
push 4
push ecx
push 4
push ebx
push str.SocksType
push edx
call edi
mov edx, dword [esi + 0x334]
lea ecx, [esp + 0x10]
push 4
xor eax, eax
push ecx
cmp edx, ebx
mov edx, dword [0x6d2354]
push 4
push ebx
push str.Socks5ProxyDNS
setne al
push edx
mov dword [esp + 0x28], eax
call edi
push 0x71f
mov ecx, esi
call fcn.00602ea0
mov eax, dword [eax + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xf0
push eax
call ebp
cmp eax, 1
jne 0x4fa2bb
mov ecx, esi
call fcn.004f9fb0
mov ecx, esi
call fcn.004fb310
mov dl, byte [esi + 0x338]
mov al, byte [esi + 0x33a]
xor ecx, ecx
cmp dl, bl
setne cl
xor edx, edx
cmp al, bl
mov dword [esp + 0x1c], ecx
mov cl, byte [esi + 0x339]
setne dl
xor eax, eax
cmp cl, bl
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [0x6d2354]
push 4
push ebx
push str.UseHttpProxy
setne al
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x6d2354]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push ebx
push str.UseFtpProxy
push ecx
call edi
mov eax, dword [0x6d2354]
lea edx, [esp + 0x24]
push 4
push edx
push 4
push ebx
push str.UseHttpsProxy
push eax
call edi
mov eax, dword [esi + 0x2f8]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa35f
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.HttpsProxy
push ecx
call edi
jmp 0x4fa371
mov edx, dword [0x6d2354]
push str.HttpsProxy
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x2fc]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa393
inc ecx
push ecx
push eax
mov eax, dword [0x6d2354]
push 1
push ebx
push str.HttpsPort
push eax
call edi
jmp 0x4fa3a5
mov ecx, dword [0x6d2354]
push str.HttpsPort
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x2f0]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa3c8
mov edx, dword [0x6d2354]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpProxy
push edx
call edi
jmp 0x4fa3d9
mov eax, dword [0x6d2354]
push str.HttpProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x2f4]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa3fc
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.HttpPort
push ecx
call edi
jmp 0x4fa40e
mov edx, dword [0x6d2354]
push str.HttpPort
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x300]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa430
inc ecx
push ecx
push eax
mov eax, dword [0x6d2354]
push 1
push ebx
push str.FtpProxy
push eax
call edi
jmp 0x4fa442
mov ecx, dword [0x6d2354]
push str.FtpProxy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x304]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa465
mov edx, dword [0x6d2354]
inc ecx
push ecx
push eax
push 1
push ebx
push str.FtpPort
push edx
call edi
jmp 0x4fa476
mov eax, dword [0x6d2354]
push str.FtpPort
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x310]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa499
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.HttpsUserName
push ecx
call edi
jmp 0x4fa4ab
mov edx, dword [0x6d2354]
push str.HttpsUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x314]
push 1
push eax
mov eax, dword [0x6d2354]
push str.HttpsEncPassword
push str.HttpsPasword
push eax
call fcn.005b3030
mov eax, dword [esi + 0x308]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa4ef
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.HttpUserName
push ecx
call edi
jmp 0x4fa501
mov edx, dword [0x6d2354]
push str.HttpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x30c]
push 1
push eax
mov eax, dword [0x6d2354]
push str.HttpEncPassword
push str.HttpPasword
push eax
call fcn.005b3030
mov eax, dword [esi + 0x318]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4fa545
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push 1
push ebx
push str.FtpUserName
push ecx
call edi
jmp 0x4fa557
mov edx, dword [0x6d2354]
push str.FtpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x31c]
push 1
push eax
mov eax, dword [0x6d2354]
push str.FtpEncPassword
push str.FtpPasword
push eax
call fcn.005b3030
mov ecx, dword [0x6cd768]
add esp, 0x14
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x8c]
push edx
mov byte [esp + 0x34], 1
call fcn.00600d51
mov eax, dword [esp + 0x14]
push eax
push 0x6a10a0
push 0x6d2874
call fcn.005fc86b
mov ecx, dword [esi + 0x218]
add esp, 0xc
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, ebx
je 0x4fa5d8
mov edx, dword [esp + 0x14]
mov ecx, 0x6d2868
push edx
call fcn.004b8d90
mov dword [0x6d2878], eax
jmp 0x4fa5de
mov dword [0x6d2878], ebx
mov ecx, 0x6d2868
call fcn.004b8d00
mov edi, dword [0x6d2804]
push 0x722
mov ecx, esi
call fcn.00602ea0
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push eax
call ebp
cmp eax, 1
jne 0x4fa62e
mov dword [0x6d2804], eax
cmp dword [0x6d2878], ebx
je 0x4fa691
cmp dword [0x6d287c], ebx
je 0x4fa691
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4b8690
jmp 0x4fa6a5
push 0x721
mov ecx, esi
call fcn.00602ea0
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x4fa668
mov eax, 2
cmp edi, eax
mov dword [0x6d2804], eax
je 0x4fa611
push 1
mov ecx, 0x6d2800
call fcn.00537070
jmp 0x4fa6aa
push 0x704
mov ecx, esi
call fcn.00602ea0
mov edx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push edx
call ebp
dec eax
neg eax
sbb eax, eax
and eax, 8
add eax, 8
jmp 0x4fa60c
cmp eax, 4
jne 0x4fa6aa
cmp edi, eax
je 0x4fa6aa
push ebx
push ebx
push ebx
push ebx
push 3
push 0x536790
call fcn.0060403a
mov ecx, 0x6d2800
call fcn.00536ab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00603a3c
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00603a3c
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret