Function at 0x48a380
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da853
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a83c0
mov eax, dword [0x515c68]
add esp, 0xc
inc eax
mov dword [0x515c68], eax
cmp eax, 0xa
jbe 0x48a3e5
dec eax
mov dword [0x515c68], eax
xor eax, eax
jmp 0x48a8a6
test esi, esi
je 0x48a3d8
push 0x104
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004bc949
add esp, 0xc
test eax, eax
jne 0x48a40f
dec dword [0x515c68]
xor eax, eax
jmp 0x48a8a6
lea ecx, [ebp - 0x220]
call fcn.0048bc20
test al, al
je 0x48a402
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0041c970
mov esi, eax
push str.Folder
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 4], 0
call fcn.0041c970
mov byte [ebp - 4], 1
push dword [esi]
push dword [eax]
push 0x4ed424
push 0x515488
call fcn.0048d1f0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x4ec]
add esp, 0x10
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48a487
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4f0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48a4a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00438600
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x250]
mov esi, dword [ebp - 0x240]
push esi
push str.0s
call fcn.00447080
lea ecx, [esi - 1]
cmp eax, ecx
je 0x48a510
push str.0s
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x280]
call fcn.0044bc80
add esp, 4
lea ecx, [ebp - 0x250]
push eax
call fcn.004470d0
lea ecx, [ebp - 0x280]
call fcn.004335b0
xor eax, eax
mov dword [ebp - 0x254], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x268], ax
lea ecx, [ebp - 0x268]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x258], 0
push eax
call fcn.00438df0
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
push 0x4ed44c
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.0044bc80
add esp, 4
lea ecx, [ebp - 0x268]
push eax
call fcn.004470d0
lea ecx, [ebp - 0x280]
call fcn.004335b0
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x4e8]
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48a855
test byte [ebp - 0x4e8], 0x10
je 0x48a6a5
mov edx, 0x4ed430
lea ecx, [ebp - 0x4bc]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x48a5fe
test ax, ax
je 0x48a5fa
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x48a5fe
add ecx, 4
add edx, 4
test ax, ax
jne 0x48a5d8
xor eax, eax
jmp 0x48a603
sbb eax, eax
or eax, 1
test eax, eax
je 0x48a6f2
mov ecx, 0x4e89dc
lea eax, [ebp - 0x4bc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48a63c
test dx, dx
je 0x48a638
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48a63c
add eax, 4
add ecx, 4
test dx, dx
jne 0x48a616
xor eax, eax
jmp 0x48a641
sbb eax, eax
or eax, 1
test eax, eax
je 0x48a6f2
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x298]
call fcn.00438600
push eax
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.00472430
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x48a680
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.0048a380
lea ecx, [ebp - 0x280]
call fcn.004335b0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 4
call fcn.004335b0
jmp 0x48a6f2
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x298]
call fcn.0044bc80
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004470d0
lea ecx, [ebp - 0x298]
call fcn.004335b0
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov edx, edi
cmovae ecx, dword [ebp - 0x238]
call fcn.0048a090
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x4e8]
push eax
push ebx
call esi
test eax, eax
je 0x48a84e
nop word [eax + eax]
test byte [ebp - 0x4e8], 0x10
lea eax, [ebp - 0x4bc]
je 0x48a7f5
mov ecx, 0x4ed430
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48a74e
test dx, dx
je 0x48a74a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48a74e
add eax, 4
add ecx, 4
test dx, dx
jne 0x48a728
xor eax, eax
jmp 0x48a753
sbb eax, eax
or eax, 1
test eax, eax
je 0x48a83c
mov ecx, 0x4e89dc
lea eax, [ebp - 0x4bc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48a78c
test dx, dx
je 0x48a788
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48a78c
add eax, 4
add ecx, 4
test dx, dx
jne 0x48a766
xor eax, eax
jmp 0x48a791
sbb eax, eax
or eax, 1
test eax, eax
je 0x48a83c
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x280]
call fcn.00438600
push eax
lea edx, [ebp - 0x250]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x298]
call fcn.00472430
add esp, 4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x48a7d0
mov eax, dword [eax]
mov edx, edi
mov ecx, eax
call fcn.0048a380
lea ecx, [ebp - 0x298]
call fcn.004335b0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call fcn.004335b0
jmp 0x48a83c
push eax
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x298]
call fcn.0044bc80
add esp, 4
lea ecx, [ebp - 0x238]
push eax
call fcn.004470d0
lea ecx, [ebp - 0x298]
call fcn.004335b0
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x238]
mov edx, edi
cmovae ecx, dword [ebp - 0x238]
call fcn.0048a090
lea eax, [ebp - 0x4e8]
push eax
push ebx
call esi
test eax, eax
jne 0x48a710
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x48a87a
test edi, edi
je 0x48a87a
push 4
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec dword [0x515c68]
lea ecx, [ebp - 0x238]
call fcn.004335b0
lea ecx, [ebp - 0x268]
call fcn.004335b0
lea ecx, [ebp - 0x250]
call fcn.004335b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a578d
mov esp, ebp
pop ebp
ret