Function at 0x14001a240
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 [0x14036a3c8]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
call fcn.140004c80
mov rcx, rax
test rax, rax
je 0x14001a66c
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x14001a2ce
cmp rdi, 0x10000
jae 0x14001a2bf
movzx edx, di
lea rcx, [rsp + 0x20]
call fcn.140005650
jmp 0x14001a2e1
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001a2c2
jmp 0x14001a2d0
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000ae10
nop
lea rcx, [0x140285d80]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001a2f0
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14000cce0
lea rsi, str.ShellExtension
mov rax, rbx
inc rax
cmp word [rsi + rax*2], 0
jne 0x14001a314
mov r15, rsi
mov rbx, qword [rsp + 0x20]
sub r15, rbx
sar r15, 1
mov r12d, dword [rbx - 0x10]
test eax, eax
js 0x14001a661
movsxd rdx, eax
mov rcx, rsi
call fcn.140253bac
mov r13, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r12d
jl 0x14001a661
lea r14d, [r12 + rax]
test r14d, r14d
js 0x14001a661
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001a387
mov edx, r14d
lea rcx, [rsp + 0x20]
call fcn.140005960
mov rbx, qword [rsp + 0x20]
cmp r15, r12
ja 0x14001a390
lea rsi, [rbx + r15*2]
lea rcx, [rbx + r12*2]
movsxd r8, r13d
add r8, r8
je 0x14001a3c7
test rcx, rcx
je 0x14001a3b7
test rsi, rsi
je 0x14001a3b0
mov rdx, rsi
call fcn.1402430d0
jmp 0x14001a3c7
xor edx, edx
call fcn.140243780
call fcn.14025224c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024809c
cmp r14d, dword [rbx - 0xc]
jg 0x14001a661
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 0x14001a3f1
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000cce0
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 0x14001a60f
mov rbx, rax
nop dword [rax]
lea rdx, [0x140285fcc]
lea rcx, [rsp + 0x6c]
call fcn.140253dc4
test eax, eax
je 0x14001a5eb
lea rdx, [0x140285fd0]
lea rcx, [rsp + 0x6c]
call fcn.140253dc4
test eax, eax
je 0x14001a5eb
call fcn.140004c80
test rax, rax
je 0x14001a656
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x28], rax
test rdi, rdi
je 0x14001a4ae
cmp rdi, 0x10000
jae 0x14001a49f
movzx edx, di
lea rcx, [rsp + 0x28]
call fcn.140005650
jmp 0x14001a4c2
mov rax, rsi
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001a4a2
jmp 0x14001a4b1
mov eax, r14d
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.14000ae10
nop
mov r8d, 1
lea rdx, [0x140285d80]
lea rcx, [rsp + 0x28]
call fcn.14000cce0
lea rcx, [rsp + 0x6c]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001a4e1
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 0x14001a677
movsxd rdx, eax
lea rcx, [rsp + 0x6c]
call fcn.140253bac
mov r13, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r15d
jl 0x14001a677
lea r14d, [r15 + rax]
test r14d, r14d
js 0x14001a677
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x14001a55d
mov edx, r14d
lea rcx, [rsp + 0x28]
call fcn.140005960
mov rbx, qword [rsp + 0x28]
cmp rsi, r15
ja 0x14001a566
lea r12, [rbx + rsi*2]
lea rcx, [rbx + r15*2]
movsxd r8, r13d
add r8, r8
je 0x14001a59d
test rcx, rcx
je 0x14001a58d
test r12, r12
je 0x14001a586
mov rdx, r12
call fcn.1402430d0
jmp 0x14001a59d
xor edx, edx
call fcn.140243780
call fcn.14025224c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14024809c
cmp r14d, dword [rbx - 0xc]
jg 0x14001a677
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 0x14001a5df
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 0x14001a430
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 0x14001a626
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140240e30
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.140004b00
int3
mov ecx, 0x80070057
call fcn.140004b00
nop
mov ecx, 0x80004005
call fcn.140004b00
nop
mov ecx, 0x80070057
call fcn.140004b00
int3