Function at 0x4eb030
Capabilities:
Access peb ldr_data
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x606008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6cc564]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
lea ecx, [esi + 0x71c]
mov dword [esp + 0x34], ebx
call fcn.005e0bce
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x758]
push edx
call fcn.0048b910
mov eax, dword [0x6cc564]
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0x684]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xf0
push ecx
mov byte [esp + 0x40], 1
mov dword [esp + 0x20], ebx
call ebp
cmp eax, ebx
je 0x4eb0b0
mov dword [esp + 0x10], 1
mov eax, dword [0x6d116c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push ebx
push str.bUseSocks
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push 0x70b
mov ecx, esi
call fcn.005e0c16
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4eb100
mov edx, dword [0x6d116c]
inc eax
push eax
push ecx
push 1
push ebx
push str.SocksHost
push edx
call edi
jmp 0x4eb111
mov eax, dword [0x6d116c]
push str.SocksHost
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70c
mov ecx, esi
call fcn.005e0c16
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4eb143
mov edx, dword [0x6d116c]
inc eax
push eax
push ecx
push 1
push ebx
push str.SocksPort
push edx
call edi
jmp 0x4eb154
mov eax, dword [0x6d116c]
push str.SocksPort
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70d
mov ecx, esi
call fcn.005e0c16
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, ebx
je 0x4eb186
mov edx, dword [0x6d116c]
inc eax
push eax
push ecx
push 1
push ebx
push str.SocksUser
push edx
call edi
jmp 0x4eb197
mov eax, dword [0x6d116c]
push str.SocksUser
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x10]
push ecx
push 0x70e
mov ecx, esi
call fcn.005e0c16
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4eb1c8
mov edx, dword [0x6d116c]
push eax
push str.SocksPass
push edx
call fcn.00594960
add esp, 0xc
jmp 0x4eb1d9
mov eax, dword [0x6d116c]
push str.SocksPass
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x6f4
mov ecx, esi
mov dword [esp + 0x18], 5
call fcn.005e2d1c
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x4eb207
mov dword [esp + 0x14], 4
mov eax, dword [0x6d116c]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push ebx
push str.SocksType
push eax
call edi
mov ecx, esi
call fcn.004eaef0
mov ecx, dword [esi + 0x6c0]
push ebx
push ebx
push 0xf0
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call ebp
cmp eax, ebx
je 0x4eb27a
mov al, byte [esi + 0x798]
mov cl, byte [esi + 0x799]
xor edx, edx
cmp al, bl
setne dl
xor eax, eax
cmp cl, bl
setne al
mov dword [esp + 0x24], eax
mov al, byte [esi + 0x79a]
xor ecx, ecx
cmp al, bl
setne cl
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
jmp 0x4eb281
mov ecx, esi
call fcn.004ec0f0
mov eax, dword [0x6d116c]
lea edx, [esp + 0x20]
push 4
push edx
push 4
push ebx
push str.UseHttpProxy
push eax
call edi
mov edx, dword [0x6d116c]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push ebx
push str.UseFtpProxy
push edx
call edi
mov ecx, dword [0x6d116c]
lea eax, [esp + 0x28]
push 4
push eax
push 4
push ebx
push str.UseHttpsProxy
push ecx
call edi
mov eax, dword [esi + 0x770]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb2eb
mov edx, dword [0x6d116c]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpsProxy
push edx
call edi
jmp 0x4eb2fc
mov eax, dword [0x6d116c]
push str.HttpsProxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x774]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb31f
inc ecx
push ecx
mov ecx, dword [0x6d116c]
push eax
push 1
push ebx
push str.HttpsPort
push ecx
call edi
jmp 0x4eb331
mov edx, dword [0x6d116c]
push str.HttpsPort
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x768]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb353
inc ecx
push ecx
push eax
mov eax, dword [0x6d116c]
push 1
push ebx
push str.HttpProxy
push eax
call edi
jmp 0x4eb365
mov ecx, dword [0x6d116c]
push str.HttpProxy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x76c]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb388
mov edx, dword [0x6d116c]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpPort
push edx
call edi
jmp 0x4eb399
mov eax, dword [0x6d116c]
push str.HttpPort
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x778]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb3bc
inc ecx
push ecx
mov ecx, dword [0x6d116c]
push eax
push 1
push ebx
push str.FtpProxy
push ecx
call edi
jmp 0x4eb3ce
mov edx, dword [0x6d116c]
push str.FtpProxy
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x77c]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb3f0
inc ecx
push ecx
push eax
mov eax, dword [0x6d116c]
push 1
push ebx
push str.FtpPort
push eax
call edi
jmp 0x4eb402
mov ecx, dword [0x6d116c]
push str.FtpPort
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x788]
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb425
mov edx, dword [0x6d116c]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpsUserName
push edx
call edi
jmp 0x4eb436
mov eax, dword [0x6d116c]
push str.HttpsUserName
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x78c]
mov ecx, dword [0x6d116c]
push 1
push eax
push str.HttpsEncPassword
push str.HttpsPasword
push ecx
call fcn.00594820
mov eax, dword [esi + 0x780]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb47b
mov edx, dword [0x6d116c]
inc ecx
push ecx
push eax
push 1
push ebx
push str.HttpUserName
push edx
call edi
jmp 0x4eb48c
mov eax, dword [0x6d116c]
push str.HttpUserName
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x784]
mov ecx, dword [0x6d116c]
push 1
push eax
push str.HttpEncPassword
push str.HttpPasword
push ecx
call fcn.00594820
mov eax, dword [esi + 0x790]
add esp, 0x14
mov ecx, dword [eax - 8]
cmp ecx, ebx
je 0x4eb4d1
mov edx, dword [0x6d116c]
inc ecx
push ecx
push eax
push 1
push ebx
push str.FtpUserName
push edx
call edi
jmp 0x4eb4e2
mov eax, dword [0x6d116c]
push str.FtpUserName
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esi + 0x794]
mov ecx, dword [0x6d116c]
push 1
push eax
push str.FtpEncPassword
push str.FtpPasword
push ecx
call fcn.00594820
mov edx, dword [esi + 0xa8]
add esp, 0x14
push ebx
push ebx
push 0xf0
push edx
call ebp
cmp eax, ebx
pop edi
je 0x4eb55b
mov eax, dword [0x6cc564]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
push ecx
lea ecx, [esi + 0x104]
call fcn.005e0bce
mov edx, dword [esp + 0x14]
mov ecx, 0x6d0fb8
push edx
call fcn.004ab780
lea ecx, [esp + 0x14]
mov dword [0x6d0fc4], eax
mov byte [esp + 0x30], 1
call fcn.005e38b9
jmp 0x4eb561
mov dword [0x6d0fc4], ebx
mov ecx, 0x6d0fb8
call fcn.004ab6f0
cmp dword [0x6d0fc4], ebx
je 0x4eb58b
cmp dword [0x6d0fc8], ebx
je 0x4eb58b
push ebx
push ebx
push ebx
push ebx
push 1
push 0x4ab080
call fcn.005e3eb7
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005e38b9
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret