Function at 0x1400d3fc8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1030
call fcn.140001a50
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
xor esi, esi
test eax, eax
setne bl
test bl, bl
jne 0x1400d402c
cmp word [rdi], si
je 0x1400d402c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400d51ec
test al, al
je 0x1400d402c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
mov al, bl
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400d51ec
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1030
call fcn.140001a50
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1400d5150
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_wcslen]
mov ebp, 0x5c
mov rdi, rax
cmp word [rbx], bp
jne 0x1400d523a
cmp word [rbx + 2], bp
je 0x1400d525b
mov rcx, rbx
call fcn.1400d5150
test al, al
je 0x1400d52f9
movzx eax, word [rbx + 4]
cmp eax, ebp
je 0x1400d525b
cmp eax, 0x2f
jne 0x1400d52f9
mov rcx, rbx
call fcn.1400d5150
test al, al
je 0x1400d52a3
lea rax, [rdi + 4]
mov edi, 0x800
cmp rax, rdi
jae 0x1400d53dd
lea rdx, [0x1401323c0]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncpy]
lea rcx, [rsi + 8]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_wcscpy]
mov al, 1
jmp 0x1400d53df
cmp word [rbx], bp
jne 0x1400d53dd
cmp word [rbx + 2], bp
jne 0x1400d53dd
lea rax, [rdi + 6]
mov edi, 0x800
cmp rax, rdi
jae 0x1400d53dd
lea rdx, [0x1401323c0]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncpy]
lea rcx, [rsi + 8]
lea rdx, [0x1401323d0]
call qword [sym.imp.msvcrt.dll_wcscpy]
lea rcx, [rsi + 0xe]
lea rdx, [rbx + 2]
jmp 0x1400d5296
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1400d53dd
movzx eax, word [rbx]
cmp eax, ebp
je 0x1400d539b
cmp eax, 0x2f
je 0x1400d539b
lea rcx, [rsp + 0x20]
call fcn.1400d4d8c
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll_wcslen]
lea rcx, [rdi + 4]
mov edi, 0x800
add rcx, rax
cmp rcx, rdi
jae 0x1400d53dd
lea rdx, [0x1401323c0]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncpy]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll_wcscpy]
cmp word [rbx], 0x2e
jne 0x1400d5388
movzx eax, word [rbx + 2]
cmp eax, ebp
je 0x1400d5384
cmp eax, 0x2f
jne 0x1400d5388
add rbx, 4
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400d767c
jmp 0x1400d529c
lea rax, [rdi + 6]
mov edi, 0x800
cmp rax, rdi
jae 0x1400d53dd
lea rdx, [0x1401323c0]
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncpy]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call qword [sym.imp.msvcrt.dll_wcsncpy]
lea rcx, [rsi + 0xc]
jmp 0x1400d5293
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140001010
mov rbx, qword [rsp + 0x1060]
add rsp, 0x1030
pop rdi
pop rsi
pop rbp
ret