Function at 0x100014f0
Capabilities:
Delete file
Delete registry key
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x1000151f
mov al, byte [ebp - 0x15]
jmp 0x100017ae
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x10]
je 0x100017ab
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx edx, al
test edx, edx
je 0x1000179e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
add ecx, 0xe3b0
push ecx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx edx, al
test edx, edx
je 0x1000179e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
add ecx, 0xe3b0
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 1]
cmp eax, 0x8b
jne 0x1000179e
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 3]
cmp edx, 0x80
jne 0x1000179e
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 7]
cmp ecx, 0x74
jne 0x1000179e
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 9]
cmp eax, 0x8b
jne 0x1000179e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x30]
push edx
push 0x100032a0
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
push str._ws__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0x240
mov edx, dword [ebp - 8]
add edx, 0x24
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000163b
push 0x100032b0
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x10001648
push 0x100032c4
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
push str.RegistryMachineSystemCurrentControlSetServices_
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movzx edx, word [ebp - 0x40]
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x2e]
lea edx, [edx + ecx + 2]
mov word [ebp - 0x3e], dx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
movzx eax, word [ebp - 0x3e]
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax - 0xa]
mov dword [ebp - 0x38], edx
push 0xa
push 0
mov eax, dword [ebp - 0x38]
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
push ecx
push str.usKeyPath:_ws__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov edx, dword [ebp - 0x3c]
push edx
push 0
call dword [sym.imp.ntoskrnl.exe_RtlCreateRegistryKey]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000176c
push 0x10003354
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0x240
lea eax, [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
push ecx
push 0xf003f
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000175d
push 0x10003368
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10001744
push 0x1000337c
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x10001751
push 0x10003390
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1000176a
push 0x100033a4
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x10001779
push 0x100033b8
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
mov byte [ebp - 0x15], 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
push str.uImageBase_:_08X__n
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov dword [ecx], eax
jmp 0x100017ab
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
jmp 0x10001527
mov al, byte [ebp - 0x15]
mov esp, ebp
pop ebp
ret 8