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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
lea eax, [ebp - 0x20]
push esi
push edi
xor esi, esi
push eax
push 0x2001f
mov dword [ebp - 0x18], esi
push esi
push dword [0x75c85098]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75c82e33
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push dword [0x75c85064]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75c82e33
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
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 0x75c82ae8
mov eax, 0xaa
jmp 0x75c82e33
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [0x75c85088]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x75c82b20
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x75c82e33
mov esi, 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push 0x75c86c2c
xor ebx, ebx
push ecx
mov eax, dword [str.Last_Help]
push ebx
mov dword [ebp - 0x10], esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82e28
cmp dword [ebp - 0xc], esi
jne 0x75c82e28
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], esi
push 0x75c86c34
push ecx
push ebx
push dword [0x75c8507c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82e28
cmp dword [ebp - 0xc], esi
jne 0x75c82e28
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], esi
push 0x75c86c3c
push ecx
push ebx
push dword [0x75c85074]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82bb6
cmp dword [ebp - 0xc], esi
je 0x75c82bc0
mov dword [0x75c86c3c], 0x10000
cmp dword [0x75c86c3c], 0x10000
je 0x75c82bd6
mov eax, 0xaa
jmp 0x75c82e33
mov edi, 0x208
push edi
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov esi, eax
push edi
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
test esi, esi
je 0x75c82de0
test eax, eax
je 0x75c82de0
mov ebx, 4
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [str.Last_Counter]
push 0
mov dword [ebp - 8], ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82de5
lea eax, [ebp - 8]
lea ecx, [ebp - 0x3c]
push eax
lea edx, [ebp - 0xc]
push ecx
mov eax, dword [str.First_Counter]
push edx
mov dword [ebp - 8], ebx
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82de5
lea eax, [ebp - 8]
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0xc]
push ecx
mov eax, dword [str.Last_Help]
push edx
mov dword [ebp - 8], ebx
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82de5
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], ebx
lea ebx, [ebp - 8]
push ebx
push eax
push ecx
push 0
push dword [0x75c85080]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x75c82de5
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
jb 0x75c82cbd
mov eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
cmp eax, ecx
ja 0x75c82ccc
mov eax, ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x30], eax
mov dword [0x75c86c30], ebx
mov dword [0x75c86c38], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.msvcrt.dll__msize]
add esp, 4
mov dword [ebp - 8], eax
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x75c82d60
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xe0]
push eax
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x28]
push edx
push eax
push esi
push dword [ebp - 4]
call fcn.75c824a8
test eax, eax
je 0x75c82d3e
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push esi
push eax
push dword [ebp - 0x24]
call fcn.75c828ea
test eax, eax
jne 0x75c82d3e
mov dword [ebp - 0x18], 1
push esi
inc dword [ebp - 0x1c]
call dword [sym.imp.msvcrt.dll__msize]
add esp, 4
mov dword [ebp - 8], eax
push eax
push esi
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x75c82cfd
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
je 0x75c82de5
mov edi, 4
mov eax, dword [str.Last_Counter]
push edi
mov dword [ebp - 8], edi
push 0x75c86c38
push edi
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov dword [ebp - 8], edi
push 0x75c86c30
push edi
push ebx
push dword [0x75c85078]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [0x75c85084]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x75c8507c]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x75c85080]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [0x75c85078]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x75c82de5
mov edi, 0xe
mov eax, dword [0x75c85088]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x75c82e14
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x75c82e31
push dword [ebp - 0x14]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x75c82e31
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc