Function at 0x6669e0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x749170
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0xa8], xmm0
push 0x2c
mov dword [ebp - 0x3c4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
call fcn.006d0976
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 7
mov word [ebp - 0x138], ax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 7
mov word [ebp - 0x168], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x108]
push eax
push 0x799430
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], 7
mov word [ebp - 0x108], ax
call fcn.00426d40
add esi, 0x4c
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0xc0]
call fcn.00449230
lea edx, [ebp - 0x168]
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.006783f0
lea ecx, [ebp - 0xc0]
call fcn.00544140
xor esi, esi
mov dword [ebp - 0x3c0], esi
xor eax, eax
mov dword [ebp - 0x78], 0
push eax
push 0x799430
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00426d40
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
mov edx, esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd8]
call fcn.00678110
lea eax, [ebp - 0xd8]
mov edx, 0x78f250
push eax
lea ecx, [ebp - 0xf0]
call fcn.00457400
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
cmp dword [ebp - 0xac], 8
push dword [ebp - 0xb0]
cmovae ecx, dword [ebp - 0xc0]
push ecx
push ecx
mov ecx, eax
call fcn.005133a0
xor ecx, ecx
or edi, 1
mov dword [ebp - 0x3c4], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x88]
movq qword [ebp - 0x3cc], xmm0
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
movups xmmword [ebp - 0x88], xmm0
mov word [ebp - 0xa0], ax
movq xmm0, qword [ebp - 0x3cc]
movq qword [ebp - 0x78], xmm0
call fcn.00426ce0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.00426ce0
xor eax, eax
mov dword [ebp - 0x110], 0
push eax
push 0x799430
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x10c], 7
mov word [ebp - 0x120], ax
call fcn.00426d40
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
push dword [ebp - 0x3c8]
cmp dword [ebp - 0x74], 8
mov esi, dword [ebp - 0x78]
mov edx, esi
cmovae ecx, dword [ebp - 0x88]
push 1
push 0x79a7b0
push ecx
call fcn.00667dc0
xor ecx, ecx
mov dword [ebp - 0x3c8], eax
add esp, 0x10
mov word [ebp - 0x28], cx
cmp esi, eax
mov dword [ebp - 0x18], 0
mov ecx, eax
mov dword [ebp - 0x14], 7
cmovb ecx, esi
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x108]
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0xf8], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00426ce0
mov edx, dword [ebp - 0x3c8]
xor eax, eax
inc edx
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, edx
jb 0x66753e
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + edx*2]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x120]
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x120], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x110], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00426ce0
push dword [ebp - 0x3c8]
mov edi, dword [ebp - 0xac]
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0xb0]
cmp edi, 8
push 1
cmovae ecx, dword [ebp - 0xc0]
mov edx, esi
push 0x79a7b0
push ecx
call fcn.00667dc0
add esp, 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [eax + 1]
xor eax, eax
mov word [ebp - 0x28], ax
cmp esi, edx
jb 0x66753e
sub esi, edx
lea eax, [ebp - 0xc0]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x28]
lea eax, [eax + edx*2]
push eax
call fcn.00426d40
mov edi, dword [ebp - 0x3c4]
lea ecx, [ebp - 0x70]
or edi, 0xe
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
lea ecx, [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00426ce0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x120]
push ecx
cmp eax, dword [ebp - 0x38]
je 0x666e90
mov ecx, eax
call fcn.00449230
add dword [ebp - 0x3c], 0x18
jmp 0x666e99
push eax
lea ecx, [ebp - 0x40]
call fcn.00457540
lea ecx, [ebp - 0x120]
call fcn.00426ce0
lea ecx, [ebp - 0xd8]
call fcn.00426ce0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00426ce0
mov esi, dword [ebp - 0x3c0]
dec esi
mov dword [ebp - 0x3c0], esi
cmp esi, 0xfffffffe
jg 0x666b23
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x138]
push eax
call fcn.00426d40
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x138]
call fcn.005441c0
push 0x79a7b0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.0048f950
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.0044a2e0
mov dword [ebp - 0xc8], 0
xor ecx, ecx
mov dword [ebp - 0xc4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x7a15b8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.0044a2e0
mov dword [ebp - 0x140], 0
xor ecx, ecx
mov dword [ebp - 0x13c], 0
or edi, 0x30
mov dword [ebp - 0x3c4], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x150], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x140], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xd8]
call fcn.00426ce0
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0x11
call fcn.00426ce0
cmp dword [ebp - 0x13c], 8
lea ecx, [ebp - 0x3b8]
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3c8], eax
cmp eax, 0xffffffff
jne 0x667030
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x6674bd
lea ecx, [ebp - 0x38c]
mov byte [ebp - 0x3b9], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x667040
sub ecx, edx
lea eax, [ebp - 0x38c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00426d40
mov ecx, str..__
lea eax, [ebp - 0x38c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x667096
test dx, dx
je 0x667092
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x667096
add eax, 4
add ecx, 4
test dx, dx
jne 0x667070
xor eax, eax
jmp 0x66709b
sbb eax, eax
or eax, 1
test eax, eax
je 0x6673e2
mov ecx, 0x7ea604
lea eax, [ebp - 0x38c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x6670d6
test dx, dx
je 0x6670d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x6670d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x6670b0
xor eax, eax
jmp 0x6670db
sbb eax, eax
or eax, 1
test eax, eax
je 0x6673e2
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x40]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x66721b
xor ecx, ecx
mov dword [ebp - 0x3c0], ecx
nop dword [eax]
cmp eax, edi
jbe 0x667543
lea eax, [esi + ecx]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00449230
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 8
mov esi, dword [ebp - 0x48]
mov edx, esi
cmovae ecx, dword [ebp - 0x58]
push eax
push 0
call fcn.00457810
add esp, 0xc
test eax, eax
jne 0x6671c9
mov ecx, dword [ebp - 0x90]
cmp esi, ecx
mov dword [ebp - 0x18], eax
cmovb ecx, esi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 0x3b9], 1
mov dword [ebp - 0x14], 7
call fcn.00426d40
or dword [ebp - 0x3c4], 0x40
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00426ce0
test esi, esi
je 0x66720c
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.00426ce0
mov ecx, dword [ebp - 0x3c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x40]
inc edi
add dword [ebp - 0x3c0], 0x18
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x6672de
mov ecx, dword [ebp - 0x3c0]
jmp 0x667110
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.00426ce0
mov al, byte [ebp - 0x3b9]
cmp al, 1
jne 0x6673e2
push 0x79a7b0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0048f950
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae edx, dword [ebp - 0x58]
mov ecx, edx
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x667260
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0044a2e0
or dword [ebp - 0x3c4], 0x100
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
call fcn.00426ce0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0xf0]
push ecx
cmp eax, dword [ebp - 0x2c]
je 0x6673ca
mov ecx, eax
call fcn.00449230
add dword [ebp - 0x30], 0x18
jmp 0x6673d3
mov al, byte [ebp - 0x3b9]
cmp al, 1
jne 0x6673e2
cmp dword [ebp - 0x124], 8
lea ecx, [ebp - 0x138]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x138]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x66721b
push 0x79a7b0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0048f950
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae edx, dword [ebp - 0x58]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x667350
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.0044a2e0
or dword [ebp - 0x3c4], 0x80
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov word [eax], cx
lea ecx, [ebp - 0xa0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 0x11
call fcn.00426ce0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
jmp 0x6673dd
push eax
lea ecx, [ebp - 0x34]
call fcn.00457540
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf0]
call fcn.00426ce0
lea eax, [ebp - 0x3b8]
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x667030
mov esi, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x34]
sub esi, ecx
push dword [ebp - 0x3c8]
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x30]
push eax
call fcn.00667f60
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x34]
mov esi, 3
sub ecx, edi
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
jbe 0x6674bd
xor edx, edx
mov dword [ebp - 0x3c0], edx
lea eax, [esi - 3]
cmp ecx, eax
jbe 0x667543
lea eax, [edi + edx]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00449230
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xf0]
call fcn.00426ce0
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x34]
inc esi
add dword [ebp - 0x3c0], 0x18
sub ecx, edi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x3c0]
cmp esi, ecx
jb 0x667452
lea ecx, [ebp - 0x150]
call fcn.00426ce0
lea ecx, [ebp - 0xc0]
call fcn.00426ce0
lea ecx, [ebp - 0x108]
call fcn.00426ce0
lea ecx, [ebp - 0x168]
call fcn.00426ce0
lea ecx, [ebp - 0x138]
call fcn.00426ce0
lea ecx, [ebp - 0x70]
call fcn.00426ce0
lea ecx, [ebp - 0x58]
call fcn.00426ce0
lea ecx, [ebp - 0x34]
call fcn.00449880
lea ecx, [ebp - 0x40]
call fcn.00449880
lea ecx, [ebp - 0xa8]
call fcn.00667d70
xor al, al
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.006d0965
mov esp, ebp
pop ebp
ret 4
call fcn.0044b3c0
call fcn.00449870
int3