Function at 0x1004ec0
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x100d608]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x268], eax
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jge 0x1005499
lea ecx, [ebp - 0x224]
call fcn.01002b51
lea ecx, [ebp - 0x238]
call fcn.0100348a
mov eax, esi
lea esp, [ebp - 0x274]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100a24f
leave
ret 0x10
push 0x1001308
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
push 0x100132c
inc esi
push edi
mov dword [ebp - 0x258], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1004f8d
cmp esi, ebx
je 0x100503f
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp dword [ebp + 0x10], ebx
je 0x100503f
push 0x5c
push edi
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.01002e0f
test eax, eax
jne 0x10054a8
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01003053
test eax, eax
je 0x1004ff8
mov eax, dword [ebp - 0x218]
push edi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], eax
call fcn.01003bef
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x258], ebx
je 0x1005034
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x10054bd
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01003150
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.01002b51
jmp 0x100544f
lea ecx, [ebp - 0x230]
call fcn.01002b51
push 0x1001318
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100506b
mov ecx, dword [ebp - 0x210]
push edi
mov dword [ebp - 0x234], ebx
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001344
push edi
call esi
test eax, eax
jne 0x1005179
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp word [edi], 0x3d
jne 0x10054b3
cmp dword [ebp + 0x10], ebx
je 0x1005106
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
push ebx
mov dword [ebp - 0x254], eax
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x24c], ebx
call fcn.01004bcb
mov dword [ebp - 0x254], ebx
lea ecx, [ebp - 0x254]
jmp 0x1005028
cmp dword [ebp + 0x14], ebx
jne 0x1005168
push ebx
push 0x20006
push ebx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], ebx
call fcn.01002bc4
cmp eax, ebx
jne 0x10054c7
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100515d
cmp eax, 2
jne 0x10054c5
lea ecx, [ebp - 0x248]
call fcn.01002b51
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01003150
jmp 0x1004f23
push 0x5c
push edi
call fcn.01002e0f
test eax, eax
jne 0x10054b3
cmp dword [ebp + 0x10], ebx
je 0x1005254
push ebx
push 0xf003f
push edi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x224]
call fcn.01002bc4
test eax, eax
je 0x10051ed
push ebx
push 0x20019
push edi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x224]
call fcn.01002bc4
test eax, eax
je 0x10051ed
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x224]
call fcn.01002b6f
test eax, eax
jne 0x10054b3
movzx eax, word [edi]
mov byte [ebp - 0x23c], bl
cmp ax, 0x4c
je 0x1005202
cmp ax, 0x6c
jne 0x1005215
push 0x10017a8
push edi
call esi
test eax, eax
jne 0x1005215
mov byte [ebp - 0x23c], 1
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp word [edi], 0x3d
jne 0x1005457
push dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x210]
push edi
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.01004bcb
jmp 0x100544d
cmp dword [ebp + 0x14], ebx
jne 0x100527c
push ebx
push 0x20019
push edi
push dword [ebp - 0x218]
lea ecx, [ebp - 0x224]
call fcn.01002bc4
test eax, eax
je 0x100527c
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x214], ebx
jne 0x10052c0
mov esi, 0x208
push esi
call fcn.01002776
test al, al
je 0x10052a2
mov eax, esi
call fcn.0100a330
mov dword [ebp - 0x214], esp
jmp 0x10052b4
push esi
lea ecx, [ebp - 0x238]
call fcn.010046ba
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], ebx
je 0x10054e5
push 0x104
push edi
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], ebx
jne 0x1005305
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
call fcn.01003089
test eax, eax
jne 0x1005305
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
call fcn.010030c5
test eax, eax
je 0x10053d6
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01003150
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp word [edi], 0x7b
jne 0x1005380
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x210]
push ebx
push dword [ebp - 0x224]
push edi
call fcn.01004ec0
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp dword [ebp + 0x14], ebx
je 0x1005389
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x210]
push edi
mov dword [ebp + 0x14], eax
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
jmp 0x1005168
cmp dword [ebp + 0x14], ebx
jne 0x1005499
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x210]
call fcn.01003089
test eax, eax
je 0x10053cd
push dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
call fcn.01003053
test eax, eax
je 0x100548e
push dword [ebp - 0x214]
lea ecx, [ebp - 0x224]
call fcn.01003bef
jmp 0x100548e
cmp dword [ebp + 0x14], ebx
jne 0x1005499
lea ecx, [ebp - 0x224]
call fcn.01002b51
test eax, eax
jne 0x10054b3
cmp dword [ebp - 0x234], ebx
je 0x100542b
mov eax, dword [ebp - 0x218]
push dword [ebp - 0x214]
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x264], eax
call fcn.01002acb
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], ebx
call fcn.01002b51
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01002f34
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
mov ecx, dword [ebp - 0x210]
push edi
call fcn.01003150
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
cmp dword [ebp + 0x10], ebx
je 0x1005499
cmp word [edi], 0x7b
jne 0x1005499
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005499
mov ecx, dword [ebp - 0x210]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.01004ec0
mov esi, eax
cmp esi, ebx
jl 0x1004f2d
mov ecx, dword [ebp - 0x210]
jmp 0x1004f1d
cmp word [edi], 0x7d
jne 0x1004f5c
jmp 0x1004f2d
lea ecx, [ebp - 0x230]
call fcn.01002b51
mov esi, 0x80020009
jmp 0x1004f2d
lea ecx, [ebp - 0x230]
jmp 0x10054db
cmp eax, ebx
jle 0x10054d3
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x248]
call fcn.01002b51
jmp 0x1004f2d
mov esi, 0x8007000e
jmp 0x1004f2d