Function at 0x75c81e41
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x75c82017
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push dword [ebx + 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75c8200d
lea eax, [ebp - 4]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0
push ecx
push 0
push dword [0x75c8506c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82025
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x1c]
push 0
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [str.Help]
mov dword [ebp - 4], 0
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82030
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], ecx
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x14], ecx
push dword [ebp - 0x14]
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x75c82067
test eax, eax
je 0x75c82067
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [str.Counters]
push dword [ebp - 0x10]
push edx
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c8203b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0x18], 2
lea edx, [ecx + eax - 2]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
lea edx, [ebp - 0x1c]
push ecx
push dword [ebp - 0xc]
push edx
push 0
push dword [0x75c85070]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82046
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebx + 0x20]
sub dword [ebp - 0x14], 2
lea edi, [ecx + eax - 2]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebx + 0x1c]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push 7
push 0
mov eax, dword [str.Counters]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x75c82051
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push 7
push 0
push dword [0x75c85070]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x75c8205c
push dword [ebp - 0x10]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x75c81e55
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c8201c