Function at 0x1002eae6
Capabilities:
Delete registry value
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100650e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ed1c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1002eb85
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x1002eb80
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1002ed17
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x24], 0xd2d
mov dword [ebp - 0xbc], 0x10009c68
cmp dword [ebp - 0x24], 0xfbc
jle 0x1002ec38
push 0x82b
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and dword [ebp - 0x20], 0
jmp 0x1002ebec
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xc59
jge 0x1002ec38
and dword [ebp - 0x1c], 0
jmp 0x1002ec02
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x54b9
jge 0x1002ec36
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
mov ecx, 0x1060def8
call fcn.1001a86e
jmp 0x1002ebfb
jmp 0x1002ebe5
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0xa68
jge 0x1002ec5b
mov edx, dword [ebp - 0xbc]
mov ecx, 0x1060def8
call fcn.1001cd79
jmp 0x1002ec77
or dword [ebp - 4], 0xffffffff
jmp 0x1002ec81
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
push 8
pop eax
test eax, eax
je 0x1002ecd2
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x1002ecd2
mov dword [ebp - 0x40], 1
jmp 0x1002ecd6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1001ab3d
mov esi, eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1001ab3d
mov eax, dword [eax]
cmp eax, dword [esi]
jl 0x1002ed06
mov dword [ebp - 0x2c], 1
jmp 0x1002ed0a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
add eax, 0x5e53494a
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
jmp 0x1002edf7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed97
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002ed78
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1002ed95
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.1001ab3d
mov dword [eax], 0x14a59e47
jmp 0x1002ed6d
jmp 0x1002edf7
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002edda
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x1002edf7
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.1001ab3d
and dword [eax], 0
jmp 0x1002edcf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret