Function at 0x1003daf9
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006448d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1003dcb8
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1003db78
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1003dcb3
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [eax], 0x8821
mov eax, dword [ebp - 0x70]
cmp dword [eax], 0x8821
jle 0x1003dc16
mov dword [ebp - 0x24], 1
jmp 0x1003dc1a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp - 0x24], 0
jle 0x1003dc31
mov dword [ebp - 0x50], 1
jmp 0x1003dc35
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jne 0x1003dc48
mov dword [ebp - 0x2c], 1
jmp 0x1003dc4c
and dword [ebp - 0x2c], 0
push 7
pop eax
sub eax, dword [ebp - 0x2c]
cmp eax, 0x2599
je 0x1003dc62
mov dword [ebp - 0x38], 1
jmp 0x1003dc66
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x4faf
jl 0x1003dc78
mov dword [ebp - 0x28], 1
jmp 0x1003dc7c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x90]
call fcn.1000e0ff
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jg 0x1003dca4
mov dword [ebp - 0x48], 1
jmp 0x1003dca8
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1003dec1
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 1
push 2
lea ecx, [ebp - 0xc0]
call fcn.1000e0be
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x1003dcf9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1003dd15
push dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
call fcn.1000e0ff
mov dword [eax], 0xfda0e60f
jmp 0x1003dcf2
mov dword [ebp - 0x10], 0
jmp 0x1003dd25
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003dd3b
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc4], 0xffffffff
jmp 0x1003dd1e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 1
jmp 0x1003dd51
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1003de74
mov dword [ebp - 0x20], 0x4e797535
mov dword [ebp - 0x14], 0
jmp 0x1003dd72
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1003de64
mov dword [ebp - 0x1c], 0
jmp 0x1003dd8c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003dda2
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xd0], 0xe74e8003
jmp 0x1003dd85
cmp dword [ebp - 0x14], 0xfffa
jbe 0x1003ddb4
mov dword [ebp - 0x40], 1
jmp 0x1003ddb8
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 1
je 0x1003ddc7
mov dword [ebp - 0x30], 1
jmp 0x1003ddcb
and dword [ebp - 0x30], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.1000e0ff
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jge 0x1003dde9
mov dword [ebp - 0x34], 1
jmp 0x1003dded
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x20]
je 0x1003de02
mov dword [ebp - 0x3c], 1
jmp 0x1003de06
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x3c], eax
jl 0x1003de17
mov dword [ebp - 0x44], 1
jmp 0x1003de1b
and dword [ebp - 0x44], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.1000e0ff
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jne 0x1003de39
mov dword [ebp - 0x4c], 1
jmp 0x1003de3d
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 6
jle 0x1003de4c
mov dword [ebp - 0x54], 1
jmp 0x1003de50
and dword [ebp - 0x54], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp + eax - 0xd0], ecx
jmp 0x1003dd6b
cmp dword [ebp - 0x20], 0
je 0x1003de6f
jmp 0x1003dd4a
jmp 0x1003dd4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.1000e0fa
push 0x1599
push 0x3988
push dword [ebp - 0xa0]
push 0x6ce2
push 0x5a5a
push 0x47f4
push dword [ebp - 0xa8]
push 0x4ae7
push 0x509a
push 0
push 0x412e
call fcn.1002468e
add esp, 0x2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret