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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f70e
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.004dfec0
mov eax, dword [0x5545f4]
add esp, 0xc
inc eax
mov dword [0x5545f4], eax
cmp eax, 0xa
ja 0x488a99
test esi, esi
je 0x488a99
push 0x104
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.004f5d89
add esp, 0xc
test eax, eax
jne 0x487ecb
dec dword [0x5545f4]
jmp 0x488a9f
lea ecx, [ebp - 0x21c]
call fcn.0048a400
test al, al
je 0x487ec0
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x488abc
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 0x487f42
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487f20
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 0x488ac6
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 0x487f92
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 0x537f54
push 0x550bb8
call fcn.0048d900
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 0x487fd4
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 0x487ff0
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 0x488020
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a770
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 0x536960
push esi
push esi
push eax
call fcn.0048c6d0
lea ecx, [esi - 1]
add esp, 0x18
cmp eax, ecx
je 0x488172
push 0x536960
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d390
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x24c]
cmp eax, esi
je 0x488132
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4880f1
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4880e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
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 0x488172
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
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 0x5357d8
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d390
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x294]
cmp eax, esi
je 0x48825b
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x48821a
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488210
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad5
push edx
push ecx
call fcn.004de0ea
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 0x48829b
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488291
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad5
push edx
push ecx
call fcn.004de0ea
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 0x48896d
test byte [ebp - 0x4e4], 0x10
je 0x4884ea
mov edx, 0x5357dc
lea ecx, [ebp - 0x4b8]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x48830c
test ax, ax
je 0x488308
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x48830c
add ecx, 4
add edx, 4
test ax, ax
jne 0x4882e6
xor eax, eax
jmp 0x488311
sbb eax, eax
or eax, 1
test eax, eax
je 0x488601
mov ecx, 0x5357e0
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48834a
test dx, dx
je 0x488346
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48834a
add eax, 4
add ecx, 4
test dx, dx
jne 0x488324
xor eax, eax
jmp 0x48834f
sbb eax, eax
or eax, 1
test eax, eax
je 0x488601
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 0x488387
sub ecx, edx
lea eax, [ebp - 0x4b8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a770
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.00464050
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.00487e40
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x488483
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ada
push edx
push ecx
call fcn.004de0ea
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 0x488601
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4884de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ada
push edx
push ecx
call fcn.004de0ea
jmp 0x4885fe
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d390
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x488598
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x488557
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48854d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488adf
push edx
push ecx
call fcn.004de0ea
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 0x4885d8
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4885ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488adf
push edx
push ecx
call fcn.004de0ea
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.00487970
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 0x488966
nop dword [eax]
test byte [ebp - 0x4e4], 0x10
lea eax, [ebp - 0x4b8]
je 0x488843
mov ecx, 0x5357dc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48865e
test dx, dx
je 0x48865a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48865e
add eax, 4
add ecx, 4
test dx, dx
jne 0x488638
xor eax, eax
jmp 0x488663
sbb eax, eax
or eax, 1
test eax, eax
je 0x488954
mov ecx, 0x5357e0
lea eax, [ebp - 0x4b8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48869c
test dx, dx
je 0x488698
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48869c
add eax, 4
add ecx, 4
test dx, dx
jne 0x488676
xor eax, eax
jmp 0x4886a1
sbb eax, eax
or eax, 1
test eax, eax
je 0x488954
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 0x4886e0
sub ecx, edx
lea eax, [ebp - 0x4b8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a770
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.00464050
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.00487e40
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x4887dc
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4887d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
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 0x488954
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
jmp 0x488951
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047d390
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x4888eb
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x4888aa
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4888a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
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 0x48892b
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488921
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ad0
push edx
push ecx
call fcn.004de0ea
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.00487970
mov esi, dword [ebp - 0x4e8]
add esp, 8
lea eax, [ebp - 0x4e4]
push eax
push esi
call edi
test eax, eax
jne 0x488620
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 0x488996
cmp dword [ebp - 0x4ec], eax
je 0x488996
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 0x4889dc
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4889d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ae4
push edx
push ecx
call fcn.004de0ea
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 0x488a39
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488a2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ae4
push edx
push ecx
call fcn.004de0ea
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 0x488a92
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x488a88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x488ae4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, 1
jmp 0x488aa1
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.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
call fcn.004e32da
call fcn.004e32da
call fcn.004e32da
call fcn.004e32da
call fcn.004e32da
int3