Function at 0x75c82073
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor esi, esi
push 0x208
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov edi, eax
test edi, edi
jne 0x75c820a5
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
mov eax, dword [str.SYSTEMCurrentControlSetServices]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x75c8508c]
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
call ebx
push dword [ebp + 0x10]
push edi
call ebx
push dword [0x75c8508c]
push edi
call ebx
push dword [0x75c8509c]
push edi
call ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x75c820fe
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [0x75c85064]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x75c82128
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [str.Last_Counter]
push ebx
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], ebx
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x75c82163
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [str.Last_Help]
push ebx
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x18], ebx
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x75c8219e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
xor ecx, ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
push 0x75c86c3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 4
push edx
push ecx
push dword [0x75c85074]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x75c821d5
mov dword [0x75c86c3c], 0x10000
cmp dword [0x75c86c3c], 0x10000
jne 0x75c8236a
xor ebx, ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [str.Last_Counter]
push ebx
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0xc]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82228
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], eax
jb 0x75c82228
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
lea eax, [ebp - 8]
lea ecx, [ebp - 0x14]
push eax
push 0
push ecx
push 0
push dword [0x75c85088]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82251
mov eax, 0xaa
jmp 0x75c823a7
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push 1
push 0
push dword [0x75c85088]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x75c82286
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x75c8236a
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x24], eax
push dword [ebp + 0x18]
add dword [ebp - 0x18], 2
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x20], ecx
push eax
push dword [ebp + 8]
call fcn.75c81b2e
test eax, eax
je 0x75c8236a
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push ecx
push ebx
call fcn.75c81c73
test eax, eax
je 0x75c8236a
push ebx
push dword [ebp - 4]
call fcn.75c81e41
test eax, eax
je 0x75c8236a
mov esi, 4
lea eax, [ebp - 0x10]
push esi
xor ebx, ebx
push eax
push esi
push ebx
push dword [0x75c8507c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push dword [0x75c85078]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push ebx
push dword [0x75c8507c]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push dword [0x75c85078]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea ecx, [ebp - 0x24]
push ecx
push esi
push ebx
push dword [0x75c85084]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea ecx, [ebp - 0x20]
push ecx
push esi
push ebx
mov esi, 1
push dword [0x75c85080]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x75c85088]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x75c82387
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x75c82396
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x75c823a5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14