Function at 0x10193860
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023f580
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x304], edx
mov esi, ecx
mov dword [ebp - 0x2fc], 0
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.101cff73
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10193690
test al, al
jne 0x10193962
mov byte [ebp - 0x2f1], al
jmp 0x101941d2
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ecx, esi
mov byte [ebp - 4], 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10193986
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.10010360
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x101939bb
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001c0c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
dec ecx
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + eax*4], 0
lea esi, [eax*4]
jne 0x101939eb
push 0x18
call fcn.101cff73
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [esi + ecx]
lea eax, [ebp - 0x58]
push eax
call fcn.1000fe90
inc dword [ebp - 0x18]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
je 0x10193a18
mov ecx, esi
call fcn.1000ae90
add esi, 0x18
cmp esi, edi
jne 0x10193a04
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp esi, edi
je 0x10193a36
mov ecx, esi
call fcn.1000ae90
add esi, 0x18
cmp esi, edi
jne 0x10193a22
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x58]
push eax
cmp edi, dword [ebp - 0x2c]
je 0x10193a4c
mov ecx, edi
call fcn.1000fe90
add dword [ebp - 0x30], 0x18
jmp 0x10193a55
push edi
lea ecx, [ebp - 0x34]
call fcn.1001bbb0
cmp dword [ebp - 0x18], 0
je 0x10194133
mov edi, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x28]
call fcn.1001bf50
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x10193a8a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10193a7e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10010360
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x3a8]
call fcn.10011120
or edi, 0x400
push 1
push 0x102681d0
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 5
call fcn.10010650
xor ecx, ecx
or edi, 0x800
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x360], xmm0
movups xmmword [ebp - 0x378], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x70]
movq qword [ebp - 0x300], xmm0
movq qword [ebp - 0x368], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.1000ae90
movups xmm0, xmmword [ebp - 0x360]
xor eax, eax
mov dword [ebp - 0x368], 0
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x364], 7
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x378], ax
movq xmm0, qword [ebp - 0x300]
movq qword [ebp - 0x60], xmm0
call fcn.1000ae90
lea ecx, [ebp - 0x3a8]
mov byte [ebp - 4], 4
call fcn.1000ae90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
dec eax
mov edx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.1000ae90
sub dword [ebp - 0x18], 1
mov ecx, 0
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x2fc], esi
cmp esi, 0xffffffff
je 0x10194225
nop dword [eax + eax]
mov edx, 0x102681d4
lea ecx, [ebp - 0x2c4]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10193c06
test ax, ax
je 0x10193c02
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x10193c06
add ecx, 4
add edx, 4
test ax, ax
jne 0x10193be0
xor eax, eax
jmp 0x10193c0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10193f50
mov ecx, 0x102681d8
lea eax, [ebp - 0x2c4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10193c46
test dx, dx
je 0x10193c42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10193c46
add eax, 4
add ecx, 4
test dx, dx
jne 0x10193c20
xor eax, eax
jmp 0x10193c4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10193f50
test byte [ebp - 0x2f0], 0x10
je 0x10193f5d
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x31c]
call fcn.10011120
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10193ca6
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.10010650
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3a0], xmm0
movups xmmword [ebp - 0x390], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x358], xmm0
movq qword [ebp - 0x380], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x10193d21
push ecx
lea ecx, [ebp - 0x28]
call fcn.1001c0c0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
dec ecx
and eax, ecx
mov dword [ebp - 0x1c], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x24]
cmp dword [eax + esi], 0
jne 0x10193d51
push 0x18
call fcn.101cff73
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + esi]
lea ecx, [ebp - 0x390]
movups xmm0, xmmword [ebp - 0x3a0]
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x358]
movq qword [eax + 0x10], xmm0
xor eax, eax
inc dword [ebp - 0x18]
mov word [ebp - 0x390], ax
call fcn.1000ae90
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 4
call fcn.1000ae90
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x31c]
call fcn.10011120
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10193df0
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.10010650
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x334], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x324], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
je 0x10193e71
mov dword [eax], ecx
movups xmmword [eax], xmm0
mov dword [ebp - 0x324], ecx
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [ebp - 0x30], 0x18
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
jmp 0x10193e81
lea ecx, [ebp - 0x334]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1001c280
lea ecx, [ebp - 0x334]
call fcn.1000ae90
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 4
call fcn.1000ae90
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x31c]
call fcn.10011120
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0xa
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10193ee1
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.10010650
xor ecx, ecx
or edi, 0x3f0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x31c]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 4
call fcn.1000ae90
lea ecx, [ebp - 0x88]
call fcn.1000ae90
mov esi, dword [ebp - 0x2fc]
test byte [ebp - 0x2f0], 0x10
jne 0x101940fd
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x31c]
call fcn.10011120
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0xb
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10193fa3
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.10010650
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x34c], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x33c], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
je 0x10194024
mov dword [eax], ecx
movups xmmword [eax], xmm0
mov dword [ebp - 0x33c], ecx
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x338], 7
mov word [ebp - 0x34c], ax
jmp 0x10194034
lea ecx, [ebp - 0x34c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.1001c280
lea ecx, [ebp - 0x34c]
call fcn.1000ae90
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 4
call fcn.1000ae90
mov ecx, dword [ebp - 0x48]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x1019423c
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x10263a50
push ecx
push eax
push ecx
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x31c]
call fcn.10011120
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 0xd
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10194094
sub eax, edx
lea ecx, [ebp - 0x31c]
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10010650
xor ecx, ecx
or edi, 0xf
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x31c]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 4
call fcn.1000ae90
lea ecx, [ebp - 0xa0]
call fcn.1000ae90
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10193bd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x10194216
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], 0
jne 0x10193a65
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x3c]
je 0x10194161
nop dword [eax + eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1019414a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10194225
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x10194140
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
cmp esi, eax
je 0x101941a1
nop dword [eax + eax]
sub eax, 0x18
cmp esi, eax
je 0x1019419e
movups xmm0, xmmword [eax]
movups xmm1, xmmword [esi]
movq xmm2, qword [esi + 0x10]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
add esi, 0x18
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
cmp esi, eax
jne 0x10194170
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
je 0x101941c3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x101941b0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x10194225
add esi, 0x18
cmp esi, dword [ebp - 0x30]
jne 0x101941a6
mov byte [ebp - 0x2f1], 1
lea ecx, [ebp - 0x58]
call fcn.1000ae90
lea ecx, [ebp - 0x34]
call fcn.100102e0
lea ecx, [ebp - 0x40]
call fcn.100102e0
lea ecx, [ebp - 0x28]
call fcn.1001be20
lea ecx, [ebp - 0x70]
call fcn.1000ae90
mov al, byte [ebp - 0x2f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2f1], 0
jmp 0x101941ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x304]
mov byte [ebp - 0x2f1], 0
mov dword [ecx], eax
jmp 0x101941ca
call fcn.1000a360
int3