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

Disassembly:
push 0xffffffffffffffff
push 0x624e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x6cc708]
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.005ffdee
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x2e4]
push edx
call fcn.00496f40
mov al, byte [esi + 0x33b]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x4f9363
mov dword [esp + 0x10], 1
mov ecx, dword [0x6d12f4]
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 0x4f93aa
mov edx, dword [0x6d12f4]
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 0x4f93bd
mov eax, dword [0x6d12f4]
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 0x4f93e0
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.SocksPort
push ecx
call edi
jmp 0x4f93ee
mov edx, dword [0x6d12f4]
push str.SocksPort
push edx
call ebp
mov eax, dword [esi + 0x328]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9410
inc ecx
push ecx
push eax
mov eax, dword [0x6d12f4]
push 1
push ebx
push str.SocksUser
push eax
call edi
jmp 0x4f941e
mov ecx, dword [0x6d12f4]
push str.SocksUser
push ecx
call ebp
mov eax, dword [esi + 0x32c]
cmp dword [eax - 8], ebx
je 0x4f9440
mov edx, dword [0x6d12f4]
push eax
push str.SocksPass
push edx
call fcn.005b2390
add esp, 0xc
jmp 0x4f944d
mov eax, dword [0x6d12f4]
push str.SocksPass
push eax
call ebp
mov edx, dword [0x6d12f4]
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 [0x6d12f4]
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.00601f3c
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 0x4f94bb
mov ecx, esi
call fcn.004f91b0
mov ecx, esi
call fcn.004fa510
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 [0x6d12f4]
push 4
push ebx
push str.UseHttpProxy
setne al
push edx
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [0x6d12f4]
lea eax, [esp + 0x20]
push 4
push eax
push 4
push ebx
push str.UseFtpProxy
push ecx
call edi
mov eax, dword [0x6d12f4]
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 0x4f955f
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.HttpsProxy
push ecx
call edi
jmp 0x4f9571
mov edx, dword [0x6d12f4]
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 0x4f9593
inc ecx
push ecx
push eax
mov eax, dword [0x6d12f4]
push 1
push ebx
push str.HttpsPort
push eax
call edi
jmp 0x4f95a5
mov ecx, dword [0x6d12f4]
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 0x4f95c8
mov edx, dword [0x6d12f4]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpProxy
push edx
call edi
jmp 0x4f95d9
mov eax, dword [0x6d12f4]
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 0x4f95fc
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.HttpPort
push ecx
call edi
jmp 0x4f960e
mov edx, dword [0x6d12f4]
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 0x4f9630
inc ecx
push ecx
push eax
mov eax, dword [0x6d12f4]
push 1
push ebx
push str.FtpProxy
push eax
call edi
jmp 0x4f9642
mov ecx, dword [0x6d12f4]
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 0x4f9665
mov edx, dword [0x6d12f4]
inc ecx
push ecx
push eax
push 1
push ebx
push str.FtpPort
push edx
call edi
jmp 0x4f9676
mov eax, dword [0x6d12f4]
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 0x4f9699
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.HttpsUserName
push ecx
call edi
jmp 0x4f96ab
mov edx, dword [0x6d12f4]
push str.HttpsUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x314]
push 1
push eax
mov eax, dword [0x6d12f4]
push str.HttpsEncPassword
push str.HttpsPasword
push eax
call fcn.005b2250
mov eax, dword [esi + 0x308]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f96ef
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.HttpUserName
push ecx
call edi
jmp 0x4f9701
mov edx, dword [0x6d12f4]
push str.HttpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x30c]
push 1
push eax
mov eax, dword [0x6d12f4]
push str.HttpEncPassword
push str.HttpPasword
push eax
call fcn.005b2250
mov eax, dword [esi + 0x318]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4f9745
inc ecx
push ecx
mov ecx, dword [0x6d12f4]
push eax
push 1
push ebx
push str.FtpUserName
push ecx
call edi
jmp 0x4f9757
mov edx, dword [0x6d12f4]
push str.FtpUserName
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x31c]
push 1
push eax
mov eax, dword [0x6d12f4]
push str.FtpEncPassword
push str.FtpPasword
push eax
call fcn.005b2250
mov ecx, dword [0x6cc708]
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.005ffdee
mov eax, dword [esp + 0x14]
push eax
push 0x6a00a0
push 0x6d180c
call fcn.005fb90b
mov ecx, dword [esi + 0x218]
add esp, 0xc
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, ebx
je 0x4f97d8
mov edx, dword [esp + 0x14]
mov ecx, 0x6d1800
push edx
call fcn.004b8070
mov dword [0x6d1810], eax
jmp 0x4f97de
mov dword [0x6d1810], ebx
mov ecx, 0x6d1800
call fcn.004b7fe0
mov edi, dword [0x6d179c]
push 0x722
mov ecx, esi
call fcn.00601f3c
mov eax, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push eax
call ebp
cmp eax, 1
jne 0x4f982e
mov dword [0x6d179c], eax
cmp dword [0x6d1810], ebx
je 0x4f9891
cmp dword [0x6d1814], ebx
je 0x4f9891
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4b7970
jmp 0x4f98a5
push 0x721
mov ecx, esi
call fcn.00601f3c
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x4f9868
mov eax, 2
cmp edi, eax
mov dword [0x6d179c], eax
je 0x4f9811
push 1
mov ecx, 0x6d1798
call fcn.00536110
jmp 0x4f98aa
push 0x704
mov ecx, esi
call fcn.00601f3c
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 0x4f980c
cmp eax, 4
jne 0x4f98aa
cmp edi, eax
je 0x4f98aa
push ebx
push ebx
push ebx
push ebx
push 3
push 0x535830
call fcn.006030d4
mov ecx, 0x6d1798
call fcn.00535b50
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00602ad6
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00602ad6
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