Function at 0x10027e40
Capabilities:
Delete directory
Delete file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x184
mov eax, 3
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18c]
push ebp
push esi
push edi
mov ecx, 0x10027ac0
mov esi, 2
xor ebx, ebx
lea ebp, [eax + eax*2]
push 1
mov dword [esp + 0x14], str._REG
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str._DIR
mov dword [esp + 0x24], 0x10027cf0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], str._DEV
mov dword [esp + 0x30], 0x10027c40
mov dword [esp + 0x38], str._REF
mov dword [esp + 0x3c], 0x10027d80
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], str._SYS
mov dword [esp + 0x48], 0x10027db0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], str._IDE
mov dword [esp + 0x54], 0x10027dd0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0x10049930
mov dword [esp + 0x60], 0x10027df0
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], str._PNP
mov dword [esp + 0x6c], 0x10027c70
mov dword [esp + 0x74], str._REG_WOW64
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
shl ebp, 6
call fcn.1000a800
add esp, 4
add eax, ebp
push eax
push esi
call fcn.1000a800
add esp, 4
add eax, ebp
push eax
call fcn.10006e60
push esi
call fcn.1000a800
mov edx, dword [eax + ebp + 0x80]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [edx + ecx + 1]
lea esi, [edx + ecx + 1]
test al, al
je 0x10027fc2
push 2
call fcn.1000a800
mov eax, dword [eax + ebp + 0x80]
push eax
push esi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 0xc
test eax, eax
je 0x10027f93
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esi + ecx + 1]
lea esi, [esi + ecx + 1]
test al, al
jne 0x10027f5e
cmp byte [esi], 0
je 0x10027fc2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi + 1]
mov cl, byte [eax]
test cl, cl
jne 0x10027fb5
mov dl, byte [eax + 1]
test dl, dl
je 0x10027fbb
mov byte [esi], cl
inc esi
inc eax
jmp 0x10027fa8
mov byte [esi], 0
mov byte [esi + 1], 0
push 2
call fcn.1000a800
add esp, 4
mov dword [eax + ebp + 0x1c], ebx
push 0x13
push 2
call fcn.1000a800
mov ecx, dword [eax + ebp + 0x94]
add esp, 4
lea edx, [esp + 0x80]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov esi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [esp + 0x88]
push 0x5c
push eax
call esi
add esp, 0x14
mov byte [eax], 0
push 0x5c
push 2
call fcn.1000a800
mov ecx, dword [eax + ebp + 0x94]
add esp, 4
push ecx
call esi
add esp, 8
mov ebx, eax
xor esi, esi
lea edi, [esp + 0x10]
mov edx, dword [edi]
lea eax, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
je 0x1002804d
inc esi
add edi, 0xc
cmp esi, 9
jb 0x1002802b
xor ebx, ebx
jmp 0x100280b3
cmp esi, 9
jae 0x10028049
lea edi, [esi + esi*2]
push 2
shl edi, 2
call fcn.1000a800
mov ecx, dword [esp + edi + 0x1c]
add esp, 4
mov dword [eax + ebp + 0x10], ecx
call fcn.1000c760
test eax, eax
je 0x10028091
mov edx, dword [esp + edi + 0x10]
push str._WOW64
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x10028091
mov eax, 1
jmp 0x10028093
xor eax, eax
push eax
push ebx
push 2
call fcn.1000a800
add esp, 4
add eax, ebp
push eax
call dword [esp + edi + 0x20]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10028166
lea eax, [esi + esi*2]
mov edi, str._CMD
mov ecx, 5
mov esi, dword [esp + eax*4 + 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100280cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10028166
mov ecx, 0x40
lea edi, [esp + 0x91]
mov byte [esp + 0x90], al
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x94]
push ecx
stosb byte es:[edi], al
call fcn.1000bd00
push 1
call fcn.1000a800
mov edx, dword [eax + ebp + 0x80]
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push str._sPACKAGE.XML
lea eax, [esp + ecx + 0xa4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x90]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x184
ret