Function at 0x1023bc0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x107c497
call fcn.01032938
sub esp, 0x228
mov eax, dword [0x109126c]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], eax
call fcn.01022519
jmp 0x1023e26
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001754
push edi
call esi
mov ebx, eax
neg ebx
push 0x1001778
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1023c45
test ebx, ebx
je 0x1023d02
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
cmp dword [ebp + 0x10], 0
je 0x1023d02
and dword [ebp - 0x21c], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.01022491
test eax, eax
jne 0x10240e9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010227ba
test eax, eax
je 0x1023caf
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.01023ac6
and dword [ebp - 0x21c], 0
test ebx, ebx
je 0x1023cf3
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x1024135
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010228cc
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x102413b
mov byte [ebp - 4], 0
call fcn.01021ef0
jmp 0x1024096
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.01021ef0
push 0x1001764
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1023d2e
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x230], eax
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
push 0x1001790
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1023e2f
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.01022519
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10240f9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
cmp esi, ebx
jl 0x10240f9
cmp word [edi], 0x3d
jne 0x10240f4
cmp dword [ebp + 0x10], ebx
je 0x1023dc5
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.01022612
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.01021ef0
cmp esi, ebx
jmp 0x1024094
cmp dword [ebp + 0x14], ebx
jne 0x1023e1a
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.01021f63
cmp eax, ebx
jne 0x1024127
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1023e0f
cmp eax, 2
jne 0x1024125
lea ecx, [ebp - 0x21c]
call fcn.01021ef0
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010228cc
mov esi, eax
cmp esi, ebx
jmp 0x10240db
push 0x5c
push edi
call fcn.01022491
test eax, eax
jne 0x10240f4
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1023edc
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01021f63
test eax, eax
je 0x1023ea2
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01021f63
test eax, eax
je 0x1023ea2
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01021f0e
test eax, eax
jne 0x10240f4
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
cmp word [edi], 0x3d
jne 0x1024096
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.01022612
jmp 0x1024090
cmp dword [ebp + 0x14], esi
jne 0x1023f03
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.01021f63
test eax, eax
je 0x1023f03
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], esi
jne 0x1023f1b
mov eax, 0x208
call fcn.01032890
mov dword [ebp - 0x22c], esp
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], esi
jne 0x1023f60
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.010227f0
test eax, eax
jne 0x1023f60
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.0102282c
test eax, eax
je 0x1024033
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.010228cc
mov esi, eax
test esi, esi
jl 0x10240f9
cmp word [edi], 0x7b
jne 0x1023fdf
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.01023bc0
mov esi, eax
test esi, esi
jl 0x10240f9
cmp dword [ebp + 0x14], 0
je 0x1023fef
mov eax, dword [ebp - 0x234]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
push edi
mov ecx, ebx
call fcn.010228cc
jmp 0x10240d7
cmp dword [ebp + 0x14], 0
jne 0x10240dd
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.010227f0
test eax, eax
je 0x1024029
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.010227ba
test eax, eax
je 0x1024022
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.01023ac6
mov ecx, ebx
jmp 0x10240d1
cmp dword [ebp + 0x14], 0
jne 0x10240dd
lea ecx, [ebp - 0x224]
call fcn.01021ef0
test eax, eax
jne 0x10240f4
cmp dword [ebp - 0x230], eax
je 0x1024072
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
call fcn.01021ef0
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.010228cc
mov esi, eax
test esi, esi
jl 0x10240f9
cmp dword [ebp + 0x10], 0
je 0x10240dd
cmp word [edi], 0x7b
jne 0x10240dd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10240dd
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.01023bc0
mov esi, eax
test esi, esi
jl 0x10240f9
mov ecx, dword [ebp - 0x220]
push edi
call fcn.01022519
mov esi, eax
test esi, esi
jl 0x10240f9
cmp word [edi], 0x7d
jne 0x1023c1c
jmp 0x10240f9
lea ecx, [ebp - 0x21c]
call fcn.01021ef0
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.01021ef0
mov eax, esi
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0102a8ee
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x1024133
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.01021ef0
jmp 0x10240f9