Function at 0x10050d27
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10050de8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10050d98
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10050d96
push 1
push 0x34c7
push 1
push 1
push 0x23b3
push 0x711e
push 0x6665
call fcn.1004f931
add esp, 0x1c
jmp 0x10050de3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10050dc6
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x10050de3
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1000fa89
mov dword [eax], 0xfffffff6
jmp 0x10050dbb
jmp 0x10050f70
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10050e35
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10050e30
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10050f70
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10050f5c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10050f5c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x10050e96
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10050e96
mov dword [ebp - 0x64], 1
jmp 0x10050e9a
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10050ed0
mov dword [ebp - 0x24], 1
jmp 0x10050ed4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jle 0x10050ee7
mov dword [ebp - 0x14], 1
jmp 0x10050eeb
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfffffff7
jne 0x10050efa
mov dword [ebp - 0xc], 1
jmp 0x10050efe
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x3f29
jl 0x10050f10
mov dword [ebp - 0x1c], 1
jmp 0x10050f14
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jne 0x10050f2c
mov dword [ebp - 0x10], 1
jmp 0x10050f30
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xe22401db
je 0x10050f42
mov dword [ebp - 0x18], 1
jmp 0x10050f46
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
cmp eax, 0xbd52a284
je 0x10050f5c
and dword [ebp - 0x28], 0
jmp 0x10050f63
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret