Function at 0x10145400
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10240c6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.10146b80
mov ecx, esi
call fcn.101453e0
mov edi, dword [ebp - 0x28]
mov esi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
cmp esi, dword [ebp - 0x24]
je 0x101455cc
cmp dword [ecx + 0x14], 0xf
xorps xmm0, xmm0
mov edi, dword [ecx + 0x10]
mov edx, 0x16
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov eax, ecx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], ecx
jbe 0x10145495
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp edi, 0x7fffffff
ja 0x10145860
cmp edi, 0xf
ja 0x101454b9
movups xmm0, xmmword [eax]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0xf
movups xmmword [ebp - 0x58], xmm0
jmp 0x10145529
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x101454dd
mov eax, SysReAllocString
mov esi, SysReAllocString
push eax
call fcn.1004d480
add esp, 4
mov ecx, eax
jmp 0x1014550d
cmp esi, 0x16
cmovb esi, edx
lea eax, [esi + 1]
cmp eax, 0x1000
jb 0x101454fa
push eax
call fcn.1004d480
add esp, 4
mov ecx, eax
jmp 0x1014550d
test eax, eax
je 0x1014550b
push eax
call fcn.101231a2
add esp, 4
mov ecx, eax
jmp 0x1014550d
xor ecx, ecx
lea eax, [edi + 1]
mov dword [ebp - 0x58], ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x48], edi
push ecx
mov dword [ebp - 0x44], esi
call fcn.1014a620
mov esi, dword [ebp - 0x18]
add esp, 0xc
push 1
push 0x102d1be8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100551d0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10145546
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.100551d0
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x24]
movzx eax, byte [ecx + 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ecx]
lea ecx, [ebp - 0x80]
call fcn.10145330
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.10145400
lea ecx, [ebp - 0x80]
call fcn.10145380
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x101455b7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101455ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014582c
push ecx
push edx
call fcn.10123601
add esp, 8
mov ecx, dword [ebp - 0x1c]
add esi, 0x18
mov dword [ebp - 0x18], esi
cmp esi, dword [ebp - 0x24]
jne 0x10145468
mov edi, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
push ecx
call fcn.1012b730
mov esi, dword [ebp - 0x10]
add esp, 8
cmp dword [esi + 0x24], 0
je 0x10145770
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x10145762
push str.RegDeleteKeyExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x10145762
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push 0
cmova ecx, dword [ebp - 0x40]
push dword [eax + 0x24]
push ecx
push dword [eax]
call edx
test eax, eax
jne 0x10145831
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x10145698
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1014568e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014582c
push ecx
push edx
call fcn.10123601
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
je 0x10145752
mov eax, dword [ebp - 0x24]
mov esi, edi
cmp esi, eax
je 0x1014570e
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x101456f6
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x101456e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014582c
mov eax, edx
push ecx
push eax
call fcn.10123601
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x101456c0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10145748
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014582c
push ecx
push edi
call fcn.10123601
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x10145865
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x101457c2
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101457b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014582c
push ecx
push edx
call fcn.10123601
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
je 0x10145752
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push edi
call fcn.10063dc0
mov ecx, dword [ebp - 0x20]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10145748
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10145748
call fcn.10154fbf
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x58]
push eax
call fcn.10146620
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.10127550
push 0x102e5da8
lea eax, [ebp - 0x84]
push eax
call fcn.1014a5a6
call fcn.1004cdb0
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.10146620
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.10127550
push 0x102e5da8
lea eax, [ebp - 0x84]
push eax
call fcn.1014a5a6
int3