Function at 0x140007b20
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x4a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov edx, 0x18
mov rsi, rcx
lea ecx, [rdx - 0x17]
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov rdi, rax
test rax, rax
je 0x140007eb4
mov rcx, qword [rsi + 0x90]
mov edx, 0x5c
add rcx, 0x18
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x140007eb4
mov r8, qword [rsi + 0x90]
lea r9d, [rax - 1]
mov qword [rsp + 0x4c8], rbx
add r8, 0x18
mov qword [rsp + 0x4a0], r14
xor edx, edx
xor r14d, r14d
mov ecx, 0xfde9
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
lea edx, [r14 + 2]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov qword [rdi], rax
lea r9d, [r14 - 1]
mov r8, qword [rsi + 0x90]
xor edx, edx
add r8, 0x18
mov dword [rsp + 0x28], ebx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rdi]
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007c32
test al, 0x10
jne 0x140007c32
mov rcx, qword [rdi]
call fcn.140009520
test rax, rax
je 0x140007c23
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rax]
cmp rcx, qword [rdx + 4]
jne 0x140007c23
mov rcx, qword [rax + 8]
cmp rcx, qword [rdx + 0xc]
je 0x140007c28
mov ebx, 1
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x140007c37
mov ebx, 1
mov qword [rsp + 0x4d0], rbp
test ebx, ebx
je 0x140007d95
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsi + 0x90]
lea rax, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x28], 0x104
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
movups xmm0, xmmword [r8 + 4]
mov ebx, dword [r8 + 0x14]
lea r9d, [rdx - 1]
add r8, 0x18
movups xmmword [rsp + 0x58], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
movups xmm1, xmmword [rsp + 0x58]
lea r9, [rsp + 0x70]
mov edx, 0x104
movq rax, xmm1
movdqa xmm0, xmm1
shr rax, 0x20
movq r8, xmm1
movzx ecx, ax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ebx
shr r8, 0x30
psrldq xmm0, 8
movq r10, xmm0
bswap r10
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], r8d
lea r8, str._download_symbols__s__08X_04hX_04hX_016llX_X__s
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x280]
movd dword [rsp + 0x20], xmm1
call fcn.140002310
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x280]
call fcn.1400091d0
test eax, eax
je 0x140007ea8
mov rcx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, qword [rsp + 0x50]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007d8d
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov rdx, rsi
mov qword [rsp + 0x20], r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ebx, 0x1337000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov rbp, rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x140007ea8
mov r8, qword [rdi]
xor r9d, r9d
mov dword [rsp + 0x38], r14d
xor edx, edx
mov qword [rsp + 0x30], r14
mov rcx, rbp
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x20], rbx
mov qword [rdi + 0x10], rbp
call qword [sym.imp.dbghelp.dll_SymLoadModuleExW]
mov rsi, rax
test rax, rax
jne 0x140007e4e
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140007e4e
cmp eax, 2
je 0x140007e87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SymLoadModuleExW__error_0x_x_n
call fcn.140001010
mov r8, qword [rdi]
add rbx, 0x1000000
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor edx, edx
mov dword [rsp + 0x28], 0xffffffff
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.dbghelp.dll_SymLoadModuleExW]
mov rsi, rax
test rax, rax
je 0x140007df0
mov qword [rdi + 8], rsi
mov rax, rdi
mov rbp, qword [rsp + 0x4d0]
mov rbx, qword [rsp + 0x4c8]
mov r14, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140009ae0
add rsp, 0x4a8
pop rdi
pop rsi
ret
lea rcx, str.PDB_file_not_found_n
call fcn.140001010
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, rbp
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
xor eax, eax
jmp 0x140007e55
xor eax, eax
jmp 0x140007e6d