Function at 0x1400070c0
Capabilities:
Check if file exists
Delete file
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov r15b, 1
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x44], 0xffffffff
mov esi, ebx
mov dword [rsp + 0x58], ebx
xorps xmm0, xmm0
movups xmmword [r11 - 0x78], xmm0
mov qword [r11 - 0x68], 0xe
mov qword [r11 - 0x60], 0xf
movsd xmm0, qword [str..dmp.split.tmp]
movsd qword [r11 - 0x78], xmm0
mov eax, dword [0x14001d7b8]
mov dword [r11 - 0x70], eax
movzx eax, word [0x14001d7bc]
mov word [r11 - 0x6c], ax
lea rdx, [r11 - 0x78]
lea rcx, [r11 - 0x98]
call fcn.140008c40
nop
mov rdx, qword [rsp + 0x118]
cmp rdx, 0x10
jb 0x1400071a0
inc rdx
mov rcx, qword [rsp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000719b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000719b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], 0xf
mov byte [rsp + 0x100], 0
mov rcx, rdi
lea r12, [rdi + 0x18]
mov qword [rsp + 0x98], r12
cmp qword [r12], 8
jb 0x1400071d5
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov r13d, 0x80000000
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x140007275
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
jb 0x140007255
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007250
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400076ad
call fcn.140017264
movdqa xmm0, xmmword [0x14001dd60]
movdqu xmmword [rsp + 0xf0], xmm0
mov word [rsp + 0xe0], bx
xor al, al
jmp 0x1400078a9
mov rdx, rdi
lea rcx, [rsp + 0x120]
call fcn.140002a70
mov rcx, rax
call fcn.1400063e0
mov rdx, rdi
lea rcx, [rsp + 0xa0]
call fcn.140002a70
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140005c90
nop
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
mov r8d, 0x100000
lea rdx, [0x140023b40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop word [rax + rax]
cmp dword [rsp + 0x48], 0
jbe 0x140007720
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x120]
call fcn.140002a70
mov rcx, rax
call fcn.1400066e0
cmp eax, 0x700000
ja 0x140007361
test esi, esi
je 0x140007361
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov dword [rsp + 0x20], 0x80
mov r9d, 0x40
mov r8d, 0x8009
lea rcx, [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wsopen_s]
jmp 0x1400074bd
inc esi
mov dword [rsp + 0x58], esi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002a70
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.140005c90
mov rbx, rax
lea rax, [rsp + 0xc0]
cmp rax, rbx
je 0x140007437
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x1400073f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400073ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007476
call fcn.140017264
xor eax, eax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], ax
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0xc0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0xd0], xmm1
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x140007482
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000747d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000747d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
lea rdx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rdx, qword [rsp + 0xc0]
mov dword [rsp + 0x20], 0x80
mov r9d, 0x40
mov r8d, 0x8101
lea rcx, [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wsopen_s]
xor ebx, ebx
mov ecx, dword [rsp + 0x44]
test eax, eax
je 0x1400075bf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002a70
mov rcx, rax
call fcn.1400063e0
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14000753b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000775f
call fcn.140017264
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
jb 0x14000759f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000759a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400076ad
call fcn.140017264
movdqa xmm0, xmmword [0x14001dd60]
movdqu xmmword [rsp + 0xf0], xmm0
mov word [rsp + 0xe0], bx
xor al, al
jmp 0x1400078a9
lea rdx, [0x14001d7d4]
call fcn.1400116e0
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1400076d9
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002a70
mov rcx, rax
call fcn.1400063e0
nop
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x140007652
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000764d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000775f
call fcn.140017264
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
jb 0x1400076b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400076b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400076b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
movdqa xmm0, xmmword [0x14001dd60]
movdqu xmmword [rsp + 0xf0], xmm0
mov word [rsp + 0xe0], bx
xor al, al
jmp 0x1400078a9
mov r8d, dword [rsp + 0x48]
lea rdx, [0x140023b40]
mov rcx, rbx
call fcn.140011ed0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 0x100000
lea rdx, [0x140023b40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbx
call fcn.140011240
xor ebx, ebx
jmp 0x1400072f0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 8
jb 0x14000776b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007766
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007766
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140017264
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], 7
mov word [rsp + 0xc0], bx
jmp 0x1400077ab
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0xc800000
mov rcx, rdi
call fcn.140006f10
test al, al
cmovne ebx, r13d
mov eax, ebx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x14001dd58]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si eax, xmm0
cmp eax, esi
jge 0x140007888
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002a70
mov rcx, rax
call fcn.1400063e0
mov rcx, rdi
cmp qword [r12], 8
jb 0x14000780c
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140007829
mov rcx, rdi
cmp qword [r12], 8
jb 0x140007823
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r15b, r15b
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140002a70
mov rcx, rax
call fcn.1400063e0
nop
mov rdx, qword [rsp + 0xf8]
cmp rdx, 8
jb 0x1400078a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400078a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400078a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r15b, r15b
je 0x14000782c
mov edx, esi
mov rcx, rdi
call fcn.140006850
test al, al
jne 0x140007842
xor r15b, r15b
jmp 0x140007842
call fcn.140017264
movzx eax, r15b
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140016f60
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret