Function at 0x10153900
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101aa15b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10222354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x20]
call fcn.10003f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.1000b9c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.1000b9c0
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
call fcn.10011190
mov byte [ebp - 4], 4
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x31], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.101536e0
test eax, eax
je 0x10153b77
push 0x2001f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100041c0
test eax, eax
jne 0x10153a87
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x31], 1
cmp dword [ebp - 0x24], 0
jne 0x10153a7f
mov byte [ebp - 0x55], 1
mov dword [ebp - 0x54], 0x820
mov edx, dword [ebp - 0x54]
push edx
push 0x828
lea ecx, [ebp - 0x30]
call fcn.1000bac0
push eax
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.10003fc0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.1000bb00
cmp dword [ebp - 0x24], 0
je 0x10153a25
cmp dword [ebp - 0x24], 0x103
je 0x10153a25
jmp 0x10153a7f
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
cmp dword [ebp + 0x10], 0
je 0x10153a4a
push 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x30]
call fcn.10007e20
test eax, eax
jne 0x10153a4a
mov byte [ebp - 0x55], 0
cmp dword [ebp + 0x14], 0
je 0x10153a66
push 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10007e20
test eax, eax
je 0x10153a66
mov byte [ebp - 0x55], 0
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x10153a7a
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x4c]
call fcn.100112b0
jmp 0x101539cd
lea ecx, [ebp - 0x20]
call fcn.100040f0
mov dword [ebp - 0x5c], 0
jmp 0x10153a99
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x4c]
call fcn.10011260
cmp dword [ebp - 0x5c], eax
jae 0x10153b61
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.1000baa0
push 0x101d7808
lea ecx, [ebp - 0x10]
call fcn.100240f0
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10011280
mov ecx, eax
call fcn.10007fa0
push eax
lea ecx, [ebp - 0x10]
call fcn.100240f0
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x10]
call fcn.10007f90
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.101536e0
test eax, eax
je 0x10153b58
lea ecx, [ebp - 0x10]
call fcn.10007f90
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x10153b36
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.10007f90
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x64]
call fcn.101536e0
mov byte [ebp - 0x31], 0
jmp 0x10153b56
cmp dword [ebp - 0x18], 0
je 0x10153b56
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x18], 0
jmp 0x10153b5c
mov byte [ebp - 0x31], 0
jmp 0x10153a90
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.101536e0
movzx eax, byte [ebp - 0x31]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10011200
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.1000ba80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.1000ba80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10003fa0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10