Function at 0x10088790
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a8
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x310]
push eax
call fcn.1026c0f0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x680], ecx
lea edx, [ebp - 0x310]
mov dword [ebp - 0x664], edx
mov eax, dword [ebp - 0x664]
mov dword [ebp - 0x6a0], eax
mov ecx, dword [ebp - 0x680]
mov dl, byte [ecx]
mov byte [ebp - 0x659], dl
mov eax, dword [ebp - 0x664]
mov cl, byte [ebp - 0x659]
mov byte [eax], cl
mov edx, dword [ebp - 0x680]
add edx, 1
mov dword [ebp - 0x680], edx
mov eax, dword [ebp - 0x664]
add eax, 1
mov dword [ebp - 0x664], eax
cmp byte [ebp - 0x659], 0
jne 0x100887da
push 0x103219d4
lea ecx, [ebp - 0x310]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [ebp - 0x658]
push edx
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x68c], eax
cmp dword [ebp - 0x68c], 0xffffffff
jne 0x10088859
xor al, al
jmp 0x10088bd8
mov byte [ebp - 0x65c], 1
mov dword [ebp - 0x66c], 0x103219d8
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x668], ecx
mov edx, dword [ebp - 0x668]
mov al, byte [edx]
mov byte [ebp - 0x65d], al
mov ecx, dword [ebp - 0x66c]
cmp al, byte [ecx]
jne 0x100888d4
cmp byte [ebp - 0x65d], 0
je 0x100888c8
mov edx, dword [ebp - 0x668]
mov al, byte [edx + 1]
mov byte [ebp - 0x65e], al
mov ecx, dword [ebp - 0x66c]
cmp al, byte [ecx + 1]
jne 0x100888d4
add dword [ebp - 0x668], 2
add dword [ebp - 0x66c], 2
cmp byte [ebp - 0x65e], 0
jne 0x10088876
mov dword [ebp - 0x690], 0
jmp 0x100888df
sbb edx, edx
or edx, 1
mov dword [ebp - 0x690], edx
mov eax, dword [ebp - 0x690]
mov dword [ebp - 0x698], eax
cmp dword [ebp - 0x698], 0
je 0x1008898c
mov dword [ebp - 0x674], 0x103219dc
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x670], ecx
mov edx, dword [ebp - 0x670]
mov al, byte [edx]
mov byte [ebp - 0x65f], al
mov ecx, dword [ebp - 0x674]
cmp al, byte [ecx]
jne 0x1008896c
cmp byte [ebp - 0x65f], 0
je 0x10088960
mov edx, dword [ebp - 0x670]
mov al, byte [edx + 1]
mov byte [ebp - 0x660], al
mov ecx, dword [ebp - 0x674]
cmp al, byte [ecx + 1]
jne 0x1008896c
add dword [ebp - 0x670], 2
add dword [ebp - 0x674], 2
cmp byte [ebp - 0x660], 0
jne 0x1008890e
mov dword [ebp - 0x694], 0
jmp 0x10088977
sbb edx, edx
or edx, 1
mov dword [ebp - 0x694], edx
mov eax, dword [ebp - 0x694]
mov dword [ebp - 0x69c], eax
cmp dword [ebp - 0x69c], 0
jne 0x10088991
jmp 0x10088b9f
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.1026c0f0
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 0x684], edx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp - 0x678]
mov dword [ebp - 0x6a4], ecx
mov edx, dword [ebp - 0x684]
mov al, byte [edx]
mov byte [ebp - 0x65a], al
mov ecx, dword [ebp - 0x678]
mov dl, byte [ebp - 0x65a]
mov byte [ecx], dl
mov eax, dword [ebp - 0x684]
add eax, 1
mov dword [ebp - 0x684], eax
mov ecx, dword [ebp - 0x678]
add ecx, 1
mov dword [ebp - 0x678], ecx
cmp byte [ebp - 0x65a], 0
jne 0x100889c8
lea edx, [ebp - 0x62c]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ecx, dword [ebp - 0x658]
and ecx, 0x10
je 0x10088a44
lea edx, [ebp - 0x108]
push edx
call fcn.10088790
add esp, 4
mov byte [ebp - 0x65c], al
jmp 0x10088b9f
push 0x104
push 0
lea eax, [ebp - 0x518]
push eax
call fcn.1026c0f0
add esp, 0xc
lea ecx, [ebp - 0x518]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.1026c0f0
add esp, 0xc
lea eax, [ebp - 0x518]
mov dword [ebp - 0x688], eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x67c], ecx
mov edx, dword [ebp - 0x67c]
mov dword [ebp - 0x6a8], edx
mov eax, dword [ebp - 0x688]
mov cl, byte [eax]
mov byte [ebp - 0x65b], cl
mov edx, dword [ebp - 0x67c]
mov al, byte [ebp - 0x65b]
mov byte [edx], al
mov ecx, dword [ebp - 0x688]
add ecx, 1
mov dword [ebp - 0x688], ecx
mov edx, dword [ebp - 0x67c]
add edx, 1
mov dword [ebp - 0x67c], edx
cmp byte [ebp - 0x65b], 0
jne 0x10088aa6
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x10088b39
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10088b37
push 4
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x10088b9f
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.1008b080
add esp, 8
push 0x103219e0
lea edx, [ebp - 0x414]
push edx
call fcn.1008b0a0
add esp, 8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x10088b8e
push 4
push 0
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x10088b9f
push 4
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x658]
push ecx
mov edx, dword [ebp - 0x68c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10088860
mov eax, dword [ebp - 0x68c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov al, byte [ebp - 0x65c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret