Function at 0x14003e2b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, rcx
mov rdi, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14003e2f8
mov rdi, qword [rcx]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x60]
call fcn.14009f630
xor r9d, r9d
lea r8, [rbp + 0x60]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor r12d, r12d
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x20], r12
test eax, eax
jne 0x14003e341
mov eax, r12d
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], al
jmp 0x14003e372
mov qword [rsp + 0x30], r12
mov byte [rsp + 0x20], r12b
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r12b
jne 0x14003e356
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140012bb0
mov rax, qword [rsp + 0x30]
test rax, rax
jne 0x14003e39c
lea rax, [rsp + 0x20]
cmp rax, rbx
je 0x14003e39c
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003e38e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
call fcn.140012bb0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003e3c0
test al, 0x10
jne 0x14003e4fd
mov rbx, r12
lea r13, [0x1400d68f2]
nop word [rax + rax]
inc rbx
lea rdi, [rsp + 0x20]
mov r14, qword [rsp + 0x20]
mov r15, qword [rsp + 0x38]
cmp r15, 0x10
cmovae rdi, r14
mov rsi, qword [rsp + 0x30]
cmp rbx, rsi
jae 0x14003e446
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.14009f630
lea rcx, [0x1400d68f0]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x60], 1
inc rcx
cmp rcx, r13
jne 0x14003e410
lea rcx, [rsi + rdi]
add rbx, rdi
cmp rbx, rcx
jae 0x14003e446
nop dword [rax]
movzx eax, byte [rbx]
cmp byte [rsp + rax + 0x60], 0
jne 0x14003e56b
inc rbx
cmp rbx, rcx
jb 0x14003e430
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov r8, rbx
cmp rsi, rbx
cmovb r8, rsi
lea rdx, [rsp + 0x20]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140012bb0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
sete dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14003e4dd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e4d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e577
call fcn.14006b0f0
test dil, dil
je 0x14003e4f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14003e573
cmp rbx, 0xffffffffffffffff
jne 0x14003e3d0
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003e538
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e533
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e57d
call fcn.14006b0f0
movzx eax, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub rbx, rdi
jmp 0x14003e44d
xor bl, bl
jmp 0x14003e4ff
call fcn.1400a3548
nop
call fcn.1400a3548
int3