Function at 0x1002372c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10023773
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x1002376e
push 0
push 0x11ba
push 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
jmp 0x10024239
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x6c], 0xbe1d925b
mov dword [ebp - 0x104], 0x89fff12f
mov dword [ebp - 8], 0
jmp 0x1002379a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x100237b0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xf4], 0xfffb
jmp 0x10023793
mov dword [ebp - 8], 0
jmp 0x100237c0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x100237d6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x164], 0
jmp 0x100237b9
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x100237f0
push 0xd12
push 0
call fcn.1002994c
pop ecx
pop ecx
cmp dword [ebp - 0x6c], 8
jae 0x10023802
mov dword [ebp - 0x12c], 1
jmp 0x10023809
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
mov dword [ebp - 0x188], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf4], 0xfff6
je 0x1002383b
mov dword [ebp - 0x84], 1
jmp 0x10023842
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x84], eax
je 0x10023856
mov dword [ebp - 0x80], 1
jmp 0x1002385a
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x80], eax
jle 0x10023875
mov dword [ebp - 0x58], 1
jmp 0x10023879
and dword [ebp - 0x58], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x164], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf4]
cmp dword [ebp - 0x58], eax
je 0x100238a4
mov dword [ebp - 0x7c], 1
jmp 0x100238a8
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x7c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0x5bb2
mov dword [ebp - 0x158], 0x4de6f885
mov dword [ebp - 0x18c], 0x2f88d967
mov dword [ebp - 0x180], 0x30498d20
mov dword [ebp - 0x154], 0xff8cd3be
mov dword [ebp - 0x148], 0xb6ea
mov dword [ebp - 0xf8], 0xaefc518f
mov dword [ebp - 0x4c], 0
jmp 0x10023920
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10023936
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x1c8], 0x2fe22364
jmp 0x10023919
lea eax, [ebp - 0xf8]
push eax
push 1
call fcn.10023657
pop ecx
pop ecx
and dword [ebp - 0x64], 0
jmp 0x1002395c
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x64], eax
jge 0x10024239
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x54], 0
jmp 0x10023985
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1002399b
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x144], 0x75c9
jmp 0x1002397e
mov dword [ebp - 0x34], 0
jmp 0x100239ab
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jg 0x10023a2f
mov dword [ebp - 0x50], 0xfffffff9
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + eax*4 - 0x144]
mov dword [ebp + ecx*4 - 0x144], eax
mov dword [ebp - 0x50], 0
jmp 0x100239dc
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jg 0x10023a2a
mov byte [ebp - 0x25], 0
push 0
lea eax, [ebp - 0x25]
push eax
push 0x7d19
call fcn.10023689
add esp, 0xc
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10023a28
push 0
push 0x4634
push 0x5e33
push 0x66d8
push 0x562e
push 0x20de
call fcn.10028ace
add esp, 0x18
jmp 0x100239d5
jmp 0x100239a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10023a48
mov dword [ebp - 0xb8], 1
jmp 0x10023a4f
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10023a74
mov dword [ebp - 0x88], 1
jmp 0x10023a7b
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x14], 0xc64a6847
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x18], 9
mov dword [ebp - 0xa8], 0x80254f8
mov dword [ebp - 0x15c], 0x7c525ac8
mov dword [ebp - 0x48], 0
jmp 0x10023ac0
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x10023ad6
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x1a0], 0x637c1d6b
jmp 0x10023ab9
mov byte [ebp - 0x1b], 0
push 1
push 0x324f
lea eax, [ebp - 0x1b]
push eax
call fcn.10023689
add esp, 0xc
mov dword [ebp - 0x14], 0xffffffe5
jmp 0x10023afd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff0
jge 0x10023d58
mov dword [ebp - 0x128], 0xfffffffe
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0x5c], 0x8586fd5d
mov dword [ebp - 0xa0], 0x30a4ccfd
mov dword [ebp - 0x24], 0x8112def9
mov dword [ebp - 0x13c], 0xfffffffb
mov dword [ebp - 0x138], 0xfffffffb
mov dword [ebp - 0x134], 0xfffffffb
mov dword [ebp - 0x130], 0xfffffffb
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x14]
jne 0x10023c52
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1a0]
cmp dword [ebp - 0x5c], eax
jge 0x10023b92
mov dword [ebp - 0xe0], 1
jmp 0x10023b99
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
add eax, 0xfffc
imul eax, eax, 0x1d0b
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x13c]
jle 0x10023bc8
push 0xfffffffffffffffc
pop eax
test eax, eax
jne 0x10023bc8
and dword [ebp - 0x90], 0
jmp 0x10023bd2
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0x4ea8
jl 0x10023bea
mov dword [ebp - 0xc0], 1
jmp 0x10023bf1
and dword [ebp - 0xc0], 0
imul eax, dword [ebp - 0xc0], 0
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x13c]
cmp dword [ebp - 0x5c], eax
jle 0x10023c19
mov dword [ebp - 0x98], 1
jmp 0x10023c20
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xffffffff
jl 0x10023c30
cmp dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x24], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x1a0], ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x5879
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xa0], eax
jl 0x10023c90
mov dword [ebp - 0xc8], 1
jmp 0x10023c97
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc8], eax
je 0x10023cae
mov dword [ebp - 0xe8], 1
jmp 0x10023cb5
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xe8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x14]
test eax, eax
je 0x10023d14
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10023ce9
push 0
push 0x5816
call fcn.100295e9
pop ecx
pop ecx
mov dword [ebp - 0x24], 0
jmp 0x10023cf9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x10023d12
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x1f]
push eax
push 0
call fcn.100250c0
pop ecx
pop ecx
jmp 0x10023cf2
jmp 0x10023d53
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10023d2a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0x18], 0
jmp 0x10023d3a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x10023d53
mov byte [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.10024274
pop ecx
pop ecx
jmp 0x10023d33
jmp 0x10023af6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x10023d71
mov dword [ebp - 0xb0], 1
jmp 0x10023d78
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x168], 0x8b13eca4
mov dword [ebp - 0x17c], 0xfffffffb
mov dword [ebp - 0x174], 8
mov dword [ebp - 0x184], 0xfd947597
mov dword [ebp - 0x190], 0x588c
mov dword [ebp - 0xd0], 0x6928
mov dword [ebp - 0xc], 0
jmp 0x10023dd0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x10023de6
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1d4], 0xfffffffb
jmp 0x10023dc9
mov dword [ebp - 0xc], 0
jmp 0x10023df6
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x10023e0c
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1e0], 3
jmp 0x10023def
mov byte [ebp - 0x1c], 0
push 0x1da4
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x573
push 0x7b29
call fcn.10025e2a
add esp, 0x14
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x10023e70
push 0x4000
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x948
push 0x9ce
call fcn.10020997
pop ecx
pop ecx
call eax
jmp 0x1002394c
push dword [ebp - 0x120]
push 0
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 4]
push dword [ebp - 0x100]
push dword [ebp - 0xfc]
call fcn.10024e77
add esp, 0x18
mov dword [ebp - 0x44], 0xb26bdde0
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 0x44], 6
jmp 0x10023eb7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x17
jle 0x10023f2f
mov dword [ebp - 0x78], 0xfffffff9
mov dword [ebp - 0x94], 0xd00585b
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x78], eax
jne 0x10023edf
mov dword [ebp - 0x74], 1
jmp 0x10023ee3
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xe05d
jl 0x10023ef8
mov dword [ebp - 0x8c], 1
jmp 0x10023eff
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
push 0x7f21
push 0
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x6d5d
call fcn.10029c0e
add esp, 0x14
jmp 0x10023eb0
push 0x69e5
push dword [ebp - 4]
push 0
lea eax, [ebp - 0xec]
push eax
push dword [ebp - 0x38]
call fcn.10025496
add esp, 0x14
cmp dword [ebp - 0xec], 0
jbe 0x10024234
mov dword [ebp - 0x2c], 0x24ec2e0c
mov dword [ebp - 0x68], 0xfffffffe
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x11c], 5
mov dword [ebp - 0x3c], 0
jmp 0x10023f8a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x10023fa0
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1bc], 0xe511bd77
jmp 0x10023f83
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10023fb9
push 0xc91
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov dword [ebp - 0x2c], 0
jmp 0x10023fc9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x17
jg 0x10024208
mov dword [ebp - 0x30], 0xcda2
mov dword [ebp - 0x10], 0
jmp 0x10023fea
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10024000
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x170], 0x526c7153
jmp 0x10023fe3
mov dword [ebp - 0x10], 0
jmp 0x10024010
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10024026
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1ac], 4
jmp 0x10024009
cmp dword [ebp - 0x30], 0
jne 0x1002403b
cmp dword [ebp - 0x30], 0
jne 0x1002403b
and dword [ebp - 0x9c], 0
jmp 0x10024045
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0x7a14
je 0x1002405d
mov dword [ebp - 0xa4], 1
jmp 0x10024064
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xa4]
jne 0x1002407b
mov dword [ebp - 0xac], 1
jmp 0x10024082
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
je 0x10024097
mov dword [ebp - 0xb4], 1
jmp 0x1002409e
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, 0xfff8
cmp eax, 0x16aa
jne 0x100240b9
mov dword [ebp - 0x60], 1
jmp 0x100240bd
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x170], ecx
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x60], eax
jg 0x100240e1
mov dword [ebp - 0xbc], 1
jmp 0x100240e8
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xbc]
imul eax, eax, 0xffffffff
cmp eax, dword [ebp - 0x2c]
je 0x1002410b
cmp dword [ebp - 0x2c], 0
je 0x1002410b
mov dword [ebp - 0xc4], 1
jmp 0x10024112
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x68]
jg 0x1002412c
mov dword [ebp - 0xcc], 1
jmp 0x10024133
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0xcc]
jl 0x10024150
mov eax, 0xb07f
test eax, eax
jne 0x10024150
and dword [ebp - 0xd4], 0
jmp 0x1002415a
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xd4]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x1ac]
jg 0x1002417d
mov dword [ebp - 0xdc], 1
jmp 0x10024184
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0x114]
cmp eax, 0x585ca258
jge 0x100241a0
mov dword [ebp - 0x70], 1
jmp 0x100241a4
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x1bc], ecx
cmp dword [ebp - 0x70], 0
je 0x100241cf
cmp dword [ebp - 0x11c], 0
je 0x100241cf
mov dword [ebp - 0xe4], 1
jmp 0x100241d6
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
je 0x100241e9
cmp dword [ebp - 0x2c], 0
je 0x100241e7
jmp 0x10024208
jmp 0x10024203
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10024203
push 0x52e9
push 1
call fcn.100236e2
pop ecx
pop ecx
jmp 0x10023fc2
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0xec]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x948
push 0x98b
call fcn.10020997
pop ecx
pop ecx
call eax
jmp 0x1002394c
mov esp, ebp
pop ebp
ret