Function at 0x14003f990
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140001640]
xor rax, rsp
mov qword [rbp], rax
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x18], rcx
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.14002bf60
nop
lea ecx, [rsi + 0x38]
call fcn.1400ed86c
mov qword [rbp - 0x58], rax
test rax, rax
je 0x14003fa49
mov qword [rbp - 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rsi
mov word [rax], si
mov dword [rax + 0x20], esi
mov qword [rax + 0x24], 0xffff
mov dword [rax + 0x2c], 0xffff
mov qword [rax + 0x30], rsi
jmp 0x14003fa4c
mov rax, rsi
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
lea r8, [rbp - 8]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140046860
nop
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x10]
call fcn.140143340
nop
cmp qword [rbp - 0x80], 8
jb 0x14003fa91
mov rcx, qword [rsp + 0x68]
call fcn.1400ed78c
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x50], rax
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov rax, qword [rbp - 0x78]
cmp qword [rbp - 0x10], rax
setne sil
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14003fafb
lock dec dword [rbx + 8]
jne 0x14003fafb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
lock dec dword [rbx + 0xc]
jne 0x14003fafb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + select]
test sil, sil
je 0x14003fc4a
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x58]
call fcn.140143ff0
mov rdx, qword [rbp - 0x10]
cmp dword [rax], 3
jne 0x14003fb72
lea rax, [rbp - 0x48]
mov qword [rbp - 0x68], rax
cmp qword [rdx + 0x18], 8
jb 0x14003fb2f
mov rdx, qword [rdx]
mov qword [rbp - 0x30], 7
xor ebx, ebx
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
cmp word [rdx], bx
jne 0x14003fb4b
mov r8d, ebx
jmp 0x14003fb5a
mov r8, rdi
nop
inc r8
cmp word [rdx + r8*2], bx
jne 0x14003fb50
lea rcx, [rbp - 0x48]
call fcn.14003ca90
nop
lea rcx, [rbp - 0x48]
call fcn.14003f990
jmp 0x14003fc3a
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140143ff0
cmp dword [rax], 2
jne 0x14003fc3a
mov rcx, qword [rbp - 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14003fb95
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
jne 0x14003fc3a
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14003fbb6
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x20], bx
cmp word [rdx], bx
jne 0x14003fbdf
mov r8d, ebx
jmp 0x14003fbec
mov r8, rdi
inc r8
cmp word [rdx + r8*2], bx
jne 0x14003fbe2
lea rcx, [rsp + 0x20]
call fcn.14003ca90
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
cmp qword [rsp + 0x38], 8
jb 0x14003fc27
mov rcx, qword [rsp + 0x20]
call fcn.1400ed78c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rbx
mov word [rsp + 0x20], bx
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.1401436b0
jmp 0x14003fac0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x68], rax
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x14003fc79
lock dec dword [rbx + 8]
jne 0x14003fc79
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + ioctlsocket]
lock dec dword [rbx + 0xc]
jne 0x14003fc79
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + select]
mov rbx, qword [rbp - 0x60]
cmp qword [rbx + 0x18], 8
jb 0x14003fc89
mov rcx, qword [rbx]
jmp 0x14003fc8c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
test al, al
jne 0x14003fd32
cmp qword [rbx + 0x18], 8
jb 0x14003fcab
mov rdx, qword [rbx]
jmp 0x14003fcae
mov rdx, rbx
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
cmp word [rdx], si
jne 0x14003fcd6
mov edi, esi
jmp 0x14003fcdf
inc rdi
cmp word [rdx + rdi*2], si
jne 0x14003fcd6
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14003ca90
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
cmp qword [rsp + 0x58], 8
jb 0x14003fd1d
mov rcx, qword [rsp + 0x40]
call fcn.1400ed78c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
jmp 0x14003fd34
xor esi, esi
cmp qword [rbx + 0x18], 8
jb 0x14003fd43
mov rcx, qword [rbx]
call fcn.1400ed78c
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400efba0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret