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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa6e
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4ec], edx
mov esi, ecx
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e0230
mov eax, dword [0x5545f4]
add esp, 0xc
inc eax
mov dword [0x5545f4], eax
cmp eax, 0xa
ja 0x488a49
test esi, esi
je 0x488a49
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004f60f9
add esp, 0xc
test eax, eax
jne 0x487e7b
dec dword [0x5545f4]
jmp 0x488a4f
lea ecx, [ebp - 0x21c]
call fcn.0048a390
test al, al
je 0x487e70
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x488a6c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4f0], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0044f3f0
test al, al
jne 0x487ef2
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487ed0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.0044f580
mov dword [ebp - 4], 1
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x488a76
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4e8], eax
push str.Folder
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 2
call fcn.0044f3f0
test al, al
jne 0x487f42
push 8
push str.Folder
lea ecx, [ebp - 0x4e8]
call fcn.0044f580
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x4f0]
mov esi, dword [ebp - 0x4e8]
push edi
push esi
push 0x5380bc
push 0x550bb8
call fcn.0048d880
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
add esp, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x487f84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x487fa0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
lea edx, [ecx + 2]
mov word [ebp - 0x24c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487fd0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a760
mov dword [ebp - 4], 4
lea eax, [ebp - 0x24c]
push dword [ebp - 0x4e8]
mov esi, dword [ebp - 0x23c]
cmp dword [ebp - 0x238], 8
push 1
cmovae eax, dword [ebp - 0x24c]
push 0x536ac0
push esi
push esi
push eax
call fcn.0048c650
lea ecx, [esi - 1]
add esp, 0x18
cmp eax, ecx
je 0x488122
push 0x536ac0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d340
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x24c]
cmp eax, esi
je 0x4880e2
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4880a1
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488097
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [ebp - 0x23c], 0
xor eax, eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x24c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x23c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x488122
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
add esp, 8
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x294]
call fcn.0044ae50
xor eax, eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
push 0x535938
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d340
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x294]
cmp eax, esi
je 0x48820b
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x4881ca
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4881c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a85
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [ebp - 0x284], 0
xor eax, eax
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x294], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x284], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x48824b
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a85
push edx
push ecx
call fcn.004de45a
add esp, 8
cmp dword [ebp - 0x280], 8
lea ecx, [ebp - 0x4e4]
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x4e8], esi
cmp esi, 0xffffffff
je 0x48891d
test byte [ebp - 0x4e4], 0x10
je 0x48849a
mov edx, 0x53593c
lea ecx, [ebp - 0x4b8]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4882bc
test ax, ax
je 0x4882b8
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4882bc
add ecx, 4
add edx, 4
test ax, ax
jne 0x488296
xor eax, eax
jmp 0x4882c1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4885b1
mov ecx, 0x535940
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4882fa
test dx, dx
je 0x4882f6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4882fa
add eax, 4
add ecx, 4
test dx, dx
jne 0x4882d4
xor eax, eax
jmp 0x4882ff
sbb eax, eax
or eax, 1
test eax, eax
je 0x4885b1
xor eax, eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
lea edx, [ecx + 2]
mov word [ebp - 0x264], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488337
sub ecx, edx
lea eax, [ebp - 0x4b8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a760
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x24c]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.00463fe0
mov dword [ebp - 0x27c], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x26c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x4ec]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x268], 8
cmovae ecx, dword [ebp - 0x27c]
call fcn.00487df0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x488433
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488429
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a8a
push edx
push ecx
call fcn.004de45a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp edx, 8
jb 0x4885b1
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48848e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a8a
push edx
push ecx
call fcn.004de45a
jmp 0x4885ae
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d340
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x488548
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x488507
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4884fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a8f
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x488588
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48857e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a8f
push edx
push ecx
call fcn.004de45a
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push dword [ebp - 0x4ec]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00487920
mov esi, dword [ebp - 0x4e8]
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x4e4]
push eax
push esi
call edi
test eax, eax
je 0x488916
nop dword [eax]
test byte [ebp - 0x4e4], 0x10
lea eax, [ebp - 0x4b8]
je 0x4887f3
mov ecx, 0x53593c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48860e
test dx, dx
je 0x48860a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48860e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4885e8
xor eax, eax
jmp 0x488613
sbb eax, eax
or eax, 1
test eax, eax
je 0x488904
mov ecx, 0x535940
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48864c
test dx, dx
je 0x488648
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48864c
add eax, 4
add ecx, 4
test dx, dx
jne 0x488626
xor eax, eax
jmp 0x488651
sbb eax, eax
or eax, 1
test eax, eax
je 0x488904
xor eax, eax
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
lea edx, [ecx + 2]
mov word [ebp - 0x264], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488690
sub ecx, edx
lea eax, [ebp - 0x4b8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a760
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x24c]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.00463fe0
mov dword [ebp - 0x27c], 0
xor ecx, ecx
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x27c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x26c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x4ec]
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x268], 8
cmovae ecx, dword [ebp - 0x27c]
call fcn.00487df0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x48878c
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488782
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp edx, 8
jb 0x488904
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4887e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
jmp 0x488901
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d340
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x48889b
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x48885a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x4888db
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4888d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a80
push edx
push ecx
call fcn.004de45a
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push dword [ebp - 0x4ec]
cmovae eax, dword [ebp - 0x234]
push eax
call fcn.00487920
mov esi, dword [ebp - 0x4e8]
add esp, 8
lea eax, [ebp - 0x4e4]
push eax
push esi
call edi
test eax, eax
jne 0x4885d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x488946
cmp dword [ebp - 0x4ec], eax
je 0x488946
push 4
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec dword [0x5545f4]
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x48898c
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488982
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a94
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x280]
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
cmp edx, 8
jb 0x4889e9
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4889df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a94
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x238]
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
cmp edx, 8
jb 0x488a42
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488a38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488a94
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, 1
jmp 0x488a51
dec eax
mov dword [0x5545f4], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
call fcn.004e364a
call fcn.004e364a
call fcn.004e364a
call fcn.004e364a
call fcn.004e364a
int3