Function at 0x140067d58
Capabilities:
Create directory
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14015a038]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x79], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 0x10], r14
lea r13d, [r14 + 7]
mov qword [rcx + 0x18], r13
mov word [rcx], r14w
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r13
mov word [rbp - 0x71], r14w
mov qword [rbp - 0x51], r14
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r13
mov word [rbp - 0x51], r14w
lea rcx, [rbp - 0x11]
call fcn.14002cf50
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x28]
mov rdx, rsi
lea rcx, [rbp - 0x11]
cmp ebx, 0xc
jl 0x140067e0b
call fcn.14002d220
lea rbx, str.lxLdr.xlam
jmp 0x140067e17
call fcn.14002d200
lea rbx, str.lxLdr.xla
mov rcx, rbx
call fcn.1400acf68
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x51]
call fcn.1400123a0
mov r15d, 8
mov r12d, 0x1000
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
je 0x14006818d
lea edx, [r15 + 0x14]
lea rcx, [rbp - 0x31]
call fcn.140018a30
mov dword [rsp + 0x20], 3
mov rdx, qword [rbp - 0x59]
cmp rdx, r15
jb 0x140067e9a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, r12
jb 0x140067e95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006828c
call fcn.14009b510
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r13
mov word [rbp - 0x71], r14w
mov r8d, 0x20
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x71]
call fcn.14009de10
movdqa xmm0, xmmword [0x14013a410]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], r14w
lea rcx, [rbp - 0x31]
call fcn.140012640
or esi, 0xffffffff
cmp qword [rbp - 0x61], r14
je 0x140067fe6
lea rcx, str.SpreadsheetTools_
call fcn.1400acf68
mov r8, rax
lea rdx, str.SpreadsheetTools_
lea rcx, [rbp - 0x71]
call fcn.14000b610
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x140067f2d
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], r15
cmovae rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
lea rcx, [rbp - 0x71]
call fcn.14000b610
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
lea rdx, [0x1401361b8]
call fcn.1400af750
mov rbx, rax
test rax, rax
je 0x140067fe6
mov rcx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
cmp rcx, r8
je 0x140067f87
sub r8, rcx
mov r9, rax
mov edx, 1
call fcn.1400d8a9c
mov rcx, rbx
call fcn.1400d8734
lea rax, [rbp - 0x71]
cmp rdi, rax
je 0x140067fe6
lea r9, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae r9, qword [rbp - 0x71]
mov rdx, qword [rbp - 0x61]
cmp rdx, qword [rdi + 0x18]
ja 0x140067fdb
mov rsi, rdi
cmp qword [rdi + 0x18], r15
jb 0x140067fbb
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14009de10
mov word [rbx + rsi], r14w
or esi, 0xffffffff
jmp 0x140067fe6
mov r8b, r14b
mov rcx, rdi
call fcn.1400122a0
cmp qword [rdi + 0x10], r14
jne 0x14006818d
lea rcx, [rbp - 0x31]
call fcn.14006b810
mov rbx, rax
lea rax, [rbp - 0x71]
cmp rax, rbx
je 0x14006806b
mov rdx, qword [rbp - 0x59]
cmp rdx, r15
jb 0x140068040
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, r12
jb 0x14006803b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068292
call fcn.14009b510
mov qword [rbp - 0x61], r14
mov qword [rbp - 0x59], r13
mov word [rbp - 0x71], r14w
mov r8d, 0x20
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.14009de10
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r13
mov word [rbx], r14w
lea rcx, [rbp - 0x31]
call fcn.140012640
lea rcx, str.SpreadsheetTools_
call fcn.1400acf68
mov r8, rax
lea rdx, str.SpreadsheetTools_
lea rcx, [rbp - 0x71]
call fcn.14000b610
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x1400680bf
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], r15
cmovae rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x41]
lea rcx, [rbp - 0x71]
call fcn.14000b610
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
jne 0x140068138
lea rcx, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae rcx, qword [rbp - 0x71]
lea rdx, [0x1401361b8]
call fcn.1400af750
mov rbx, rax
test rax, rax
je 0x14006818d
mov rcx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
cmp rcx, r8
je 0x140068130
sub r8, rcx
mov r9, rax
mov edx, 1
call fcn.1400d8a9c
mov rcx, rbx
call fcn.1400d8734
lea rax, [rbp - 0x71]
cmp rdi, rax
je 0x14006818d
lea r9, [rbp - 0x71]
cmp qword [rbp - 0x59], r15
cmovae r9, qword [rbp - 0x71]
mov rdx, qword [rbp - 0x61]
cmp rdx, qword [rdi + 0x18]
ja 0x140068181
cmp qword [rdi + 0x18], r15
mov rsi, rdi
jb 0x140068164
mov rsi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.14009de10
mov word [rbx + rsi], r14w
jmp 0x14006818d
mov r8b, r14b
mov rcx, rdi
call fcn.1400122a0
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400681d3
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, r12
jb 0x1400681c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068298
call fcn.14009b510
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
lea rcx, [rbp - 0x11]
call fcn.14002cf70
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, r15
jb 0x140068218
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, r12
jb 0x140068213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006829e
call fcn.14009b510
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x39], r13
mov word [rbp - 0x51], r14w
mov rdx, qword [rbp - 0x59]
cmp rdx, r15
jb 0x14006825c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, r12
jb 0x140068257
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068286
call fcn.14009b510
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14009b5b0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400ac408
nop
call fcn.1400ac408
int3
call fcn.1400ac408
nop
call fcn.1400ac408
nop
call fcn.1400ac408
int3