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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
call fcn.140004ca0
mov rcx, rax
test rax, rax
je 0x14001fb2c
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x14001f78e
cmp rdi, 0x10000
jae 0x14001f77f
movzx edx, di
lea rcx, [rsp + 0x20]
call fcn.140005670
jmp 0x14001f7a1
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001f782
jmp 0x14001f790
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000ae30
nop
lea rcx, [0x140284c9c]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001f7b0
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400127b0
lea rsi, str.ShellExtension
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001f7d4
mov r15, rsi
mov rbx, qword [rsp + 0x20]
sub r15, rbx
sar r15, 1
mov r12d, dword [rbx - 0x10]
test eax, eax
js 0x14001fb21
movsxd rdx, eax
mov rcx, rsi
call fcn.14025660c
mov r13, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r12d
jl 0x14001fb21
lea r14d, [r12 + rax]
test r14d, r14d
js 0x14001fb21
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001f847
mov edx, r14d
lea rcx, [rsp + 0x20]
call fcn.140005980
mov rbx, qword [rsp + 0x20]
cmp r15, r12
ja 0x14001f850
lea rsi, [rbx + r15*2]
lea rcx, [rbx + r12*2]
movsxd r8, r13d
add r8, r8
je 0x14001f887
test rcx, rcx
je 0x14001f877
test rsi, rsi
je 0x14001f870
mov rdx, rsi
call fcn.140245860
jmp 0x14001f887
xor edx, edx
call fcn.140245f10
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
cmp r14d, dword [rbx - 0xc]
jg 0x14001fb21
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor r14d, r14d
mov word [rbx + rax*2], r14w
lea rdx, str..dll
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rdx + rax*2], r14w
jne 0x14001f8b1
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400127b0
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp rax, rsi
je 0x14001facf
mov rbx, rax
nop dword [rax]
lea rdx, [0x1402895ac]
lea rcx, [rsp + 0x6c]
call fcn.140256824
test eax, eax
je 0x14001faab
lea rdx, [0x1402895b0]
lea rcx, [rsp + 0x6c]
call fcn.140256824
test eax, eax
je 0x14001faab
call fcn.140004ca0
test rax, rax
je 0x14001fb16
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x28], rax
test rdi, rdi
je 0x14001f96e
cmp rdi, 0x10000
jae 0x14001f95f
movzx edx, di
lea rcx, [rsp + 0x28]
call fcn.140005670
jmp 0x14001f982
mov rax, rsi
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001f962
jmp 0x14001f971
mov eax, r14d
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000ae30
nop
mov r8d, 1
lea rdx, [0x140284c9c]
lea rcx, [rsp + 0x28]
call fcn.1400127b0
lea rcx, [rsp + 0x6c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001f9a1
lea r12, [rsp + 0x6c]
lea rsi, [rsp + 0x6c]
mov rbx, qword [rsp + 0x28]
sub rsi, rbx
sar rsi, 1
mov r15d, dword [rbx - 0x10]
test eax, eax
js 0x14001fb37
movsxd rdx, eax
lea rcx, [rsp + 0x6c]
call fcn.14025660c
mov r13, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r15d
jl 0x14001fb37
lea r14d, [r15 + rax]
test r14d, r14d
js 0x14001fb37
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001fa1d
mov edx, r14d
lea rcx, [rsp + 0x28]
call fcn.140005980
mov rbx, qword [rsp + 0x28]
cmp rsi, r15
ja 0x14001fa26
lea r12, [rbx + rsi*2]
lea rcx, [rbx + r15*2]
movsxd r8, r13d
add r8, r8
je 0x14001fa5d
test rcx, rcx
je 0x14001fa4d
test r12, r12
je 0x14001fa46
mov rdx, r12
call fcn.140245860
jmp 0x14001fa5d
xor edx, edx
call fcn.140245f10
call fcn.1402549dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024a82c
cmp r14d, dword [rbx - 0xc]
jg 0x14001fb37
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor r14d, r14d
mov word [rbx + rax*2], r14w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rax, 0xffffffffffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001fa9f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + ioctlsocket]
mov rbx, qword [rsp + 0x30]
mov rsi, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001f8f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x20]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14001fae6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004b20
int3
mov ecx, 0x80070057
call fcn.140004b20
nop
mov ecx, 0x80004005
call fcn.140004b20
nop
mov ecx, 0x80070057
call fcn.140004b20
int3