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

Disassembly:
push 0xffffffffffffffff
push 0x624ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6f175c]
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 + 0x53c]
mov dword [esp + 0x34], ebx
call fcn.005febde
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x578]
push edx
call fcn.00497360
mov al, byte [esi + 0x5cf]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x4f9433
mov dword [esp + 0x10], 1
mov ecx, dword [0x6f6360]
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 + 0x5b4]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f947a
mov edx, dword [0x6f6360]
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 0x4f948d
mov eax, dword [0x6f6360]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.SocksHost
push eax
call ebp
mov eax, dword [esi + 0x5b8]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f94b0
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.SocksPort
push ecx
call edi
jmp 0x4f94be
mov edx, dword [0x6f6360]
push str.SocksPort
push edx
call ebp
mov eax, dword [esi + 0x5bc]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f94e0
inc ecx
push ecx
push eax
mov eax, dword [0x6f6360]
push 1
push ebx
push str.SocksUser
push eax
call edi
jmp 0x4f94ee
mov ecx, dword [0x6f6360]
push str.SocksUser
push ecx
call ebp
mov eax, dword [esi + 0x5c0]
cmp dword [eax - 8], ebx
je 0x4f9510
mov edx, dword [0x6f6360]
push eax
push str.SocksPass
push edx
call fcn.005b10e0
add esp, 0xc
jmp 0x4f951d
mov eax, dword [0x6f6360]
push str.SocksPass
push eax
call ebp
mov edx, dword [0x6f6360]
lea ecx, [esi + 0x5c4]
push 4
push ecx
push 4
push ebx
push str.SocksType
push edx
call edi
mov edx, dword [esi + 0x5c8]
lea ecx, [esp + 0x10]
push 4
xor eax, eax
push ecx
cmp edx, ebx
mov edx, dword [0x6f6360]
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.00601246
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 0x4f958b
mov ecx, esi
call fcn.004f9280
mov ecx, esi
call fcn.004fa5c0
mov dl, byte [esi + 0x5cc]
mov al, byte [esi + 0x5ce]
xor ecx, ecx
cmp dl, bl
setne cl
xor edx, edx
cmp al, bl
mov dword [esp + 0x1c], ecx
mov cl, byte [esi + 0x5cd]
setne dl
xor eax, eax
cmp cl, bl
lea ecx, [esp + 0x1c]
push 4
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [0x6f6360]
push 4
push ebx
push str.UseHttpProxy
setne al
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x6f6360]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push ebx
push str.UseFtpProxy
push ecx
call edi
mov eax, dword [0x6f6360]
lea edx, [esp + 0x24]
push 4
push edx
push 4
push ebx
push str.UseHttpsProxy
push eax
call edi
mov eax, dword [esi + 0x58c]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f962f
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.HttpsProxy
push ecx
call edi
jmp 0x4f9641
mov edx, dword [0x6f6360]
push str.HttpsProxy
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x590]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9663
inc ecx
push ecx
push eax
mov eax, dword [0x6f6360]
push 1
push ebx
push str.HttpsPort
push eax
call edi
jmp 0x4f9675
mov ecx, dword [0x6f6360]
push str.HttpsPort
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x584]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9698
mov edx, dword [0x6f6360]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpProxy
push edx
call edi
jmp 0x4f96a9
mov eax, dword [0x6f6360]
push str.HttpProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x588]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f96cc
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.HttpPort
push ecx
call edi
jmp 0x4f96de
mov edx, dword [0x6f6360]
push str.HttpPort
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x594]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9700
inc ecx
push ecx
push eax
mov eax, dword [0x6f6360]
push 1
push ebx
push str.FtpProxy
push eax
call edi
jmp 0x4f9712
mov ecx, dword [0x6f6360]
push str.FtpProxy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x598]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9735
mov edx, dword [0x6f6360]
inc ecx
push ecx
push eax
push 1
push ebx
push str.FtpPort
push edx
call edi
jmp 0x4f9746
mov eax, dword [0x6f6360]
push str.FtpPort
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x5a4]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9769
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.HttpsUserName
push ecx
call edi
jmp 0x4f977b
mov edx, dword [0x6f6360]
push str.HttpsUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x5a8]
push 1
push eax
mov eax, dword [0x6f6360]
push str.HttpsEncPassword
push str.HttpsPasword
push eax
call fcn.005b0fa0
mov eax, dword [esi + 0x59c]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f97bf
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.HttpUserName
push ecx
call edi
jmp 0x4f97d1
mov edx, dword [0x6f6360]
push str.HttpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x5a0]
push 1
push eax
mov eax, dword [0x6f6360]
push str.HttpEncPassword
push str.HttpPasword
push eax
call fcn.005b0fa0
mov eax, dword [esi + 0x5ac]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9815
inc ecx
push ecx
mov ecx, dword [0x6f6360]
push eax
push 1
push ebx
push str.FtpUserName
push ecx
call edi
jmp 0x4f9827
mov edx, dword [0x6f6360]
push str.FtpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x5b0]
push 1
push eax
mov eax, dword [0x6f6360]
push str.FtpEncPassword
push str.FtpPasword
push eax
call fcn.005b0fa0
mov ecx, dword [0x6f175c]
add esp, 0x14
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x14]
lea ecx, [esi + 0x17c]
push edx
mov byte [esp + 0x34], 1
call fcn.005febde
mov eax, dword [esp + 0x14]
push eax
push 0x6c5098
push 0x6f6854
call fcn.005fa6fb
mov ecx, dword [esi + 0x120]
add esp, 0xc
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, ebx
je 0x4f98a8
mov edx, dword [esp + 0x14]
mov ecx, 0x6f6848
push edx
call fcn.004b8440
mov dword [0x6f6858], eax
jmp 0x4f98ae
mov dword [0x6f6858], ebx
mov ecx, 0x6f6848
call fcn.004b83b0
mov edi, dword [0x6f67e4]
push 0x722
mov ecx, esi
call fcn.00601246
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push eax
call ebp
cmp eax, 1
jne 0x4f98fe
mov dword [0x6f67e4], eax
cmp dword [0x6f6858], ebx
je 0x4f9961
cmp dword [0x6f685c], ebx
je 0x4f9961
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4b7d30
jmp 0x4f9975
push 0x721
mov ecx, esi
call fcn.00601246
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x4f9938
mov eax, 2
cmp edi, eax
mov dword [0x6f67e4], eax
je 0x4f98e1
push 1
mov ecx, 0x6f67e0
call fcn.005350c0
jmp 0x4f997a
push 0x704
mov ecx, esi
call fcn.00601246
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 0x4f98dc
cmp eax, 4
jne 0x4f997a
cmp edi, eax
je 0x4f997a
push ebx
push ebx
push ebx
push ebx
push 3
push 0x5347e0
call fcn.00601eca
mov ecx, 0x6f67e0
call fcn.00534b00
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.006018cc
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.006018cc
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