Function at 0x1007526
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
xor esi, esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x10017c0
mov ebx, 0x80000002
push ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call fcn.0100bf4b
test eax, eax
je 0x100757b
xor al, al
jmp 0x1007aa6
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push 0x1001ecc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10075a5
cmp dword [ebp - 0x14], 3
je 0x10079d5
mov edi, 0x1001e78
push edi
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push edi
push ebx
call fcn.0100bf4b
test eax, eax
je 0x10075d9
xor al, al
jmp 0x1007aa5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
mov edi, 0x1001e6c
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007663
mov eax, dword [ebp - 0x14]
xor ecx, ecx
inc ecx
sub eax, esi
mov dword [ebp - 0x1c], ecx
je 0x100761e
dec eax
je 0x1007615
dec eax
jne 0x10075d2
mov dword [ebp - 0x14], 2
jmp 0x1007625
mov dword [ebp - 0x14], 6
jmp 0x1007625
mov dword [ebp - 0x14], 4
push ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push 0x1001e48
push esi
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x10075d2
push 0x1001e30
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x10075d2
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push 0x1001830
push ebx
mov dword [ebp - 0x18], esi
call fcn.0100bf4b
test eax, eax
jne 0x10075d2
xor edi, edi
inc edi
push edi
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001e1c
push dword [ebp - 0x20]
call fcn.0100c50c
test al, al
je 0x10075d2
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 2
lea eax, [ebp - 0x10]
push eax
push 0x10017a0
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push esi
push 0x17
lea eax, [ebp - 0x10]
push eax
push 0x1001788
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x1001de0
lea eax, [ebp - 0xc]
push eax
push 0x1001dc4
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push 0x1001740
lea eax, [ebp - 0xc]
push eax
push 0x1001758
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push 0x1001db8
lea eax, [ebp - 0xc]
push eax
push 0x1001d84
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push 0x1001d78
lea eax, [ebp - 0xc]
push eax
push 0x1001d40
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
push 0x1001d3c
lea eax, [ebp - 0xc]
push eax
push 0x1001d20
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
push 0x1001668
lea eax, [ebp - 0xc]
push eax
push 0x1001d14
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001cec
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push esi
push 3
lea eax, [ebp - 0x10]
push eax
push 0x1001ccc
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push esi
push 6
lea eax, [ebp - 0x10]
push eax
push 0x1001e48
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001ca4
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push 0x1001c7c
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001c58
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push 0x1001c40
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
mov edi, 0x1001c24
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007905
mov eax, dword [ebp - 0x14]
dec eax
je 0x1007905
dec eax
mov dword [ebp - 0x14], esi
je 0x100790c
mov dword [ebp - 0x14], 1
push 1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
mov edi, 0xe10
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001bfc
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1001bcc
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push 1
lea eax, [ebp - 0x10]
push eax
push 0x1001ba0
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push ebx
push 1
lea eax, [ebp - 0x10]
push eax
push 0x1001b80
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push 0x1001b70
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push 3
lea eax, [ebp - 0x10]
push eax
push 0x1001ecc
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push esi
push eax
push 0x10018ac
push dword [ebp - 8]
mov dword [ebp - 0x10], esi
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
cmp dword [ebp - 0x10], esi
je 0x1007a04
mov byte [0x100f49d], 1
call fcn.0100732e
mov edi, eax
cmp edi, esi
je 0x10075d2
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1001b58
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b825
test al, al
jne 0x1007a39
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10075d2
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push edi
mov dword [ebp - 0xc], esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
push dword [ebp - 0x1c]
push 0x1001668
push 0x100f494
push 0x100189c
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b825
test al, al
je 0x10075d2
push dword [ebp - 0x1c]
push 5
push 0x100f498
push 0x10018c0
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0100b7ac
test al, al
je 0x10075d2
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
mov al, 1
pop edi
pop esi
pop ebx
leave
ret