Function at 0x48bba0
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e2e7f
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov esi, dword [esp + 0x520]
xor ebp, ebp
push 0x208
lea eax, [esp + 0x302]
push ebp
push eax
mov word [esp + 0x308], bp
call fcn.004be320
mov eax, dword [0x515c20]
mov ebx, 1
add eax, ebx
add esp, 0xc
cmp eax, 0xa
mov dword [0x515c20], eax
ja 0x48c127
cmp esi, ebp
je 0x48c127
push 0x104
lea ecx, [esp + 0x300]
push esi
push ecx
call fcn.004be214
add esp, 0xc
test eax, eax
je 0x48c127
lea edx, [esp + 0x2fc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48c127
lea ecx, [esp + 0x2fc]
call fcn.0048c6e0
test al, al
je 0x48c127
add dword [0x5155c0], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x300]
call fcn.004099e0
mov esi, eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.Folder
mov dword [esp + 0x51c], ebp
call fcn.004099e0
mov byte [esp + 0x518], bl
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
push 0x4f4e54
mov ecx, 0x515890
call fcn.00489c40
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00416ce0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x518], 0xffffffff
call fcn.00416ce0
lea edx, [esp + 0x2fc]
lea eax, [esp + 0x74]
call fcn.004036c0
mov dword [esp + 0x518], 2
mov esi, dword [esp + 0x88]
push esi
lea ecx, [esp + 0x78]
push ecx
call fcn.004139c0
add esi, 0xffffffff
cmp eax, esi
je 0x48bd42
lea edx, [esp + 0x74]
push edx
mov ebx, 0x4f09a4
lea esi, [esp + 0x40]
call fcn.00414530
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x520], 3
call fcn.00402090
mov byte [esp + 0x518], 2
call fcn.00416cb0
lea eax, [esp + 0x74]
push eax
lea esi, [esp + 0x94]
call fcn.00416980
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
mov ecx, esi
push ecx
mov ebx, 0x4f4e74
lea esi, [esp + 0x40]
mov byte [esp + 0x51c], 5
call fcn.00414530
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x98]
mov byte [esp + 0x520], 6
call fcn.00402090
mov byte [esp + 0x518], 5
call fcn.00416cb0
mov eax, dword [esp + 0x94]
mov ebx, 8
cmp dword [esp + 0xa8], ebx
jae 0x48bdc0
lea eax, [esp + 0x94]
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x48c0cf
test byte [esp + 0xac], 0x10
je 0x48bed9
mov ecx, 0x4f09d4
lea eax, [esp + 0xd8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48be1e
cmp dx, bp
je 0x48be1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48be1e
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x48bdf8
xor eax, eax
jmp 0x48be23
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x48bf37
mov ecx, 0x4f1128
lea eax, [esp + 0xd8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48be5d
cmp dx, bp
je 0x48be59
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48be5d
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x48be37
xor eax, eax
jmp 0x48be62
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x48bf37
lea edx, [esp + 0xd8]
lea eax, [esp + 0x20]
call fcn.004036c0
push eax
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x44]
mov byte [esp + 0x520], 7
call fcn.0048cfe0
add esp, 8
mov byte [esp + 0x518], bl
cmp dword [eax + 0x18], ebx
jb 0x48bea5
mov eax, dword [eax + 4]
jmp 0x48bea8
add eax, 4
mov ecx, dword [esp + 0x524]
push ecx
push eax
call fcn.0048bba0
add esp, 8
lea esi, [esp + 0x3c]
call fcn.00416cb0
lea esi, [esp + 0x20]
mov byte [esp + 0x518], 5
call fcn.00416cb0
mov edi, dword [esp + 0x18]
jmp 0x48bf37
lea edx, [esp + 0x74]
push edx
lea ebx, [esp + 0xdc]
lea esi, [esp + 0x24]
call fcn.00414530
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 9
call fcn.00402090
mov byte [esp + 0x518], 5
call fcn.00416cb0
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x48bf21
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x524]
push ecx
push eax
call fcn.0048b910
add esp, 8
mov ebx, 8
lea edx, [esp + 0xac]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x48c0c8
mov edi, edi
test byte [esp + 0xac], 0x10
je 0x48c053
mov ecx, 0x4f09d4
lea eax, [esp + 0xd8]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48bf96
cmp dx, bp
je 0x48bf92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48bf96
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x48bf70
xor eax, eax
jmp 0x48bf9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x48c0b1
mov ecx, 0x4f1128
lea eax, [esp + 0xd8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48bfd6
cmp dx, bp
je 0x48bfd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48bfd6
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x48bfb0
xor eax, eax
jmp 0x48bfdb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
je 0x48c0b1
lea edx, [esp + 0xd8]
lea eax, [esp + 0x3c]
call fcn.004036c0
push eax
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x28]
mov byte [esp + 0x520], 0xa
call fcn.0048cfe0
add esp, 8
mov byte [esp + 0x518], 0xb
cmp dword [eax + 0x18], ebx
jb 0x48c01f
mov eax, dword [eax + 4]
jmp 0x48c022
add eax, 4
mov ecx, dword [esp + 0x524]
push ecx
push eax
call fcn.0048bba0
add esp, 8
lea esi, [esp + 0x20]
call fcn.00416cb0
lea esi, [esp + 0x3c]
mov byte [esp + 0x518], 5
call fcn.00416cb0
mov edi, dword [esp + 0x18]
jmp 0x48c0b1
lea edx, [esp + 0x74]
push edx
lea ebx, [esp + 0xdc]
lea esi, [esp + 0x24]
call fcn.00414530
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0x520], 0xc
call fcn.00402090
mov byte [esp + 0x518], 5
call fcn.00416cb0
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x48c09b
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x524]
push ecx
push eax
call fcn.0048b910
add esp, 8
mov ebx, 8
lea edx, [esp + 0xac]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48bf50
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x48c0fb
cmp dword [esp + 0x524], ebp
je 0x48c0fb
push 4
push ebp
lea ecx, [esp + 0x304]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
sub dword [0x515c20], 1
lea esi, [esp + 0x58]
call fcn.00416cb0
lea esi, [esp + 0x90]
call fcn.00416cb0
lea esi, [esp + 0x74]
call fcn.00416cb0
mov eax, 1
jmp 0x48c12f
sub dword [0x515c20], ebx
xor eax, eax
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.004b84de
add esp, 0x508
ret