Function at 0x1002d8ac
Capabilities:
Delete directory
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002d8db
push 0
push 0
push 0
push 0
push 0
push 0
push 0x401
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1002dfe7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xcea5d6c0
mov dword [ebp - 8], 1
mov dword [ebp - 0xd8], 0x882d7787
mov dword [ebp - 0x40], 0
jmp 0x1002d918
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x1002d92b
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x58], 0x5597
jmp 0x1002d911
mov dword [ebp - 4], 0
jmp 0x1002d93b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002db83
mov dword [ebp - 0x24], 0xaa6
mov dword [ebp - 0x34], 8
mov dword [ebp - 0xc], 0
jmp 0x1002d963
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x1002d979
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x114], 0x7903899
jmp 0x1002d95c
mov dword [ebp - 0xc], 0
jmp 0x1002d989
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1002d99f
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x120], 0xfffffff8
jmp 0x1002d982
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 4]
dec eax
dec eax
cmp eax, dword [ebp - 0x24]
jg 0x1002d9c7
mov dword [ebp - 0x98], 1
jmp 0x1002d9ce
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x98], eax
jge 0x1002d9e5
mov dword [ebp - 0x88], 1
jmp 0x1002d9ec
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x88]
je 0x1002da03
mov dword [ebp - 0xa4], 1
jmp 0x1002da0a
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xa4], eax
jle 0x1002da1e
mov dword [ebp - 0x68], 1
jmp 0x1002da22
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x68]
jg 0x1002da36
mov dword [ebp - 0xa8], 1
jmp 0x1002da3d
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xb27f
jg 0x1002da55
mov dword [ebp - 0xdc], 1
jmp 0x1002da5c
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xf0], eax
push 3
pop eax
test eax, eax
je 0x1002daa5
mov dword [ebp - 0xd4], 0xfffffffc
mov dword [ebp - 0xb4], 0xca7b5cf1
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002da94
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb4], eax
jmp 0x1002db7e
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jge 0x1002dacf
mov dword [ebp - 0x70], 1
jmp 0x1002dad3
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x14]
add ecx, 4
imul eax, ecx
cmp eax, dword [ebp - 0x34]
jl 0x1002daf3
mov dword [ebp - 0x90], 1
jmp 0x1002dafa
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 8], eax
mov eax, 0x3020f620
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
jle 0x1002db19
mov dword [ebp - 0x78], 1
jmp 0x1002db1d
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
jle 0x1002db3d
mov dword [ebp - 0xcc], 1
jmp 0x1002db44
and dword [ebp - 0xcc], 0
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x114], 0xd1b4b1c2
mov eax, dword [ebp - 0x14]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x114]
sub ecx, dword [ebp - 4]
sub eax, ecx
jne 0x1002db6e
cmp dword [ebp - 4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp + eax - 0x120], ecx
jmp 0x1002d934
mov dword [ebp - 8], 0
jmp 0x1002db93
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jg 0x1002ddca
mov dword [ebp - 0x20], 0x1ac28c4f
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x58], 0xfffffff9
jg 0x1002dbd1
mov dword [ebp - 0xa0], 1
jmp 0x1002dbd8
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002dbf9
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x58], 0
jne 0x1002dbf9
and dword [ebp - 0x80], 0
jmp 0x1002dc00
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0x7718
jne 0x1002dc12
mov dword [ebp - 0x5c], 1
jmp 0x1002dc16
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x5c], eax
jne 0x1002dc27
mov dword [ebp - 0x60], 1
jmp 0x1002dc2b
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x60], eax
jge 0x1002dc3c
mov dword [ebp - 0x64], 1
jmp 0x1002dc40
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0xc5a51f3e
jb 0x1002dc52
mov dword [ebp - 0x6c], 1
jmp 0x1002dc56
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x58]
cmp dword [ebp - 0x6c], eax
jle 0x1002dc83
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x58], ecx
mov eax, dword [ebp - 0x74]
neg eax
mov dword [ebp - 4], eax
jmp 0x1002ddc5
mov dword [ebp - 0x48], 0
jmp 0x1002dc93
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1002dca9
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0xb0], 0xffffffff
jmp 0x1002dc8c
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ebp + eax - 0xb0], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0xf4], eax
mov eax, 0xe43da7d
test eax, eax
je 0x1002dd94
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0xb0]
je 0x1002dd10
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x58], 0
je 0x1002dd10
mov dword [ebp - 0x7c], 1
jmp 0x1002dd14
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
sub ecx, dword [ebp - 0x7c]
cmp dword [ebp + eax - 0xb0], ecx
jle 0x1002dd38
mov dword [ebp - 0x84], 1
jmp 0x1002dd3f
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
add eax, 0x9d2c
je 0x1002dd68
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xb0], 0
je 0x1002dd68
mov dword [ebp - 0xd0], 1
jmp 0x1002dd6f
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0xf8], eax
mov eax, 0xf656345d
test eax, eax
je 0x1002dd94
mov dword [ebp - 0x8c], 1
jmp 0x1002dd9b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x8c], eax
jle 0x1002ddb2
mov dword [ebp - 0x94], 1
jmp 0x1002ddb9
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb8], eax
jmp 0x1002db8c
push 0
push 0x3306
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x3cea
call fcn.100282d1
add esp, 0x14
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1002dfe7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002df50
mov dword [ebp - 0x3c], 0xb26bdde0
mov dword [ebp - 0x2c], 0
jmp 0x1002de18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002de2e
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x12c], 0xb6318d58
jmp 0x1002de11
mov dword [ebp - 0x3c], 0
jmp 0x1002de3e
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe2
jl 0x1002df3b
mov dword [ebp - 0x30], 0xfffffff6
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002de74
push 1
push 0x154d
push 0x11c2
push 0x5903
call fcn.1002744c
add esp, 0x10
mov dword [ebp - 0x30], 2
jmp 0x1002de84
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002df36
mov dword [ebp - 0xc8], 0xfffffffe
mov dword [ebp - 0xc4], 0xfffffffe
mov dword [ebp - 0xc0], 0xfffffffe
mov dword [ebp - 0xbc], 0xfffffffe
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xc8], 2
jmp 0x1002dee4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xc8], 0
jl 0x1002df31
mov dword [ebp - 0x38], 0xad9bacc5
mov dword [ebp - 0x38], 0
jmp 0x1002df0b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1002df2f
mov byte [ebp - 0x15], 0
push 1
lea eax, [ebp - 0x15]
push eax
push 0x27be
push 0x658a
call fcn.1002824b
add esp, 0x10
jmp 0x1002df04
jmp 0x1002dec9
jmp 0x1002de7d
jmp 0x1002de37
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x1002dfe7
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002dfe7
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0xffffffe9
jmp 0x1002df8e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xe
jle 0x1002dfc8
mov dword [ebp - 0x1c], 2
jmp 0x1002dfa4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf
jl 0x1002dfc6
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002dfc4
push 0
push 0x42bc
call fcn.10028335
pop ecx
pop ecx
jmp 0x1002df9d
jmp 0x1002df87
push 1
lea eax, [ebp - 0x9c]
push eax
push 0xdca
push 0x5196
lea eax, [ebp - 0x44]
push eax
call fcn.100282d1
add esp, 0x14
mov esp, ebp
pop ebp
ret