Function at 0x48d020
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c96ff
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x4fc], eax
push ebx
push esi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x208
lea eax, [esp + 0x2fa]
push 0
push eax
mov word [esp + 0x300], 0
call fcn.004a1e50
mov eax, dword [0x4f8a10]
mov ebx, 1
add eax, ebx
add esp, 0xc
cmp eax, 0xa
mov dword [0x4f8a10], eax
ja 0x48d58c
test esi, esi
je 0x48d58c
push 0x104
lea ecx, [esp + 0x2f8]
push esi
push ecx
call fcn.004a4f54
add esp, 0xc
test eax, eax
je 0x48d58c
lea edx, [esp + 0x2f4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d58c
lea ecx, [esp + 0x2f4]
call fcn.0048e1e0
test al, al
je 0x48d58c
add dword [0x4f887c], ebx
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x18]
call fcn.00402f90
mov esi, eax
push str.Folder
lea ecx, [esp + 0x14]
mov dword [esp + 0x51c], 0
call fcn.00402f90
mov byte [esp + 0x518], bl
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push 0x4e2578
mov esi, 0x4f8948
call fcn.0048aa50
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00418010
lea ecx, [esp + 0x14]
mov dword [esp + 0x518], 0xffffffff
call fcn.00418010
lea eax, [esp + 0x2f4]
push eax
lea ecx, [esp + 0x54]
call fcn.00408270
mov ebx, 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x518], ebx
call fcn.004035a0
push eax
push 0x4e1cf8
lea ecx, [esp + 0x58]
call fcn.00478140
lea ecx, [esp + 0x50]
mov esi, eax
call fcn.004035a0
sub eax, 1
cmp esi, eax
je 0x48d1db
push 0x4e1cf8
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0044c960
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x51c], 3
call fcn.004034a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x518], bl
call fcn.00403470
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x8c]
call fcn.00403420
lea ecx, [esp + 0x6c]
call fcn.004033d0
push 0x4e1f4c
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x524], 5
call fcn.0044c960
add esp, 0xc
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x51c], 6
call fcn.004034a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x518], 5
call fcn.00403470
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x8c]
call fcn.00403570
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x48d538
test byte [esp + 0xa4], 0x10
je 0x48d358
mov ecx, 0x4e1f50
lea eax, [esp + 0xd0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d2a7
test dx, dx
je 0x48d2a3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d2a7
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d281
xor eax, eax
jmp 0x48d2ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d3ab
mov ecx, 0x4e1f54
lea eax, [esp + 0xd0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d2e6
test dx, dx
je 0x48d2e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d2e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d2c0
xor eax, eax
jmp 0x48d2eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d3ab
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408270
push eax
lea edx, [esp + 0x54]
push edx
lea esi, [esp + 0x3c]
mov byte [esp + 0x520], 7
call fcn.00482b90
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
mov byte [esp + 0x51c], 8
call fcn.00403570
push eax
call fcn.0048d020
add esp, 8
mov ecx, esi
call fcn.00403470
lea ecx, [esp + 0x18]
mov byte [esp + 0x518], 5
call fcn.00403470
mov esi, dword [esp + 0x10]
jmp 0x48d3ab
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c960
add esp, 0xc
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x51c], 9
call fcn.004034a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x518], 5
call fcn.00403470
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [esp + 0x70]
call fcn.00403570
push eax
call fcn.0048cd60
add esp, 8
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48d531
mov bl, 0xb
jmp 0x48d3d0
test byte [esp + 0xa4], 0x10
je 0x48d4c7
mov ecx, 0x4e1f50
lea eax, [esp + 0xd0]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d416
test dx, dx
je 0x48d412
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d416
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d3f0
xor eax, eax
jmp 0x48d41b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d51a
mov ecx, 0x4e1f54
lea eax, [esp + 0xd0]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48d456
test dx, dx
je 0x48d452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48d456
add eax, 4
add ecx, 4
test dx, dx
jne 0x48d430
xor eax, eax
jmp 0x48d45b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48d51a
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x38]
call fcn.00408270
push eax
lea edx, [esp + 0x54]
push edx
lea esi, [esp + 0x20]
mov byte [esp + 0x520], 0xa
call fcn.00482b90
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
mov byte [esp + 0x51c], bl
call fcn.00403570
push eax
call fcn.0048d020
add esp, 8
mov ecx, esi
call fcn.00403470
lea ecx, [esp + 0x34]
mov byte [esp + 0x518], 5
call fcn.00403470
mov esi, dword [esp + 0x10]
jmp 0x48d51a
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0044c960
add esp, 0xc
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x51c], 0xc
call fcn.004034a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x518], 5
call fcn.00403470
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [esp + 0x70]
call fcn.00403570
push eax
call fcn.0048cd60
add esp, 8
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48d3d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x2f4]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x48d560
cmp dword [ebp + 0xc], eax
je 0x48d560
push 4
push eax
lea edx, [esp + 0x2fc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
sub dword [0x4f8a10], 1
lea ecx, [esp + 0x6c]
call fcn.00403470
lea ecx, [esp + 0x88]
call fcn.00403470
lea ecx, [esp + 0x50]
call fcn.00403470
mov eax, 1
jmp 0x48d594
sub dword [0x4f8a10], ebx
xor eax, eax
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x4fc]
xor ecx, esp
call fcn.004a1873
mov esp, ebp
pop ebp
ret