Function at 0x14006a770
Capabilities:
Create directory
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rbx, rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14006a7ab
mov rcx, qword [rdx]
call fcn.1401553d4
test eax, eax
jns 0x14006a7c0
call fcn.140150770
mov edi, dword [rax]
cmp edi, 0x11
jne 0x14006a7e4
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140140c60
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp dword [reloc.WS2_32.dll_closesocket], 1
jl 0x14006a9cf
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.1400269f0
nop
movsxd rcx, dword [rsp + 0x20]
lea r8d, [rcx + 7]
mov edx, dword [rsp + 0x30]
cmp r8d, edx
jle 0x14006a820
mov eax, dword [rsp + 0x34]
add eax, 7
mov dword [rsp + 0x34], eax
jmp 0x14006a855
mov rdx, rcx
add rdx, qword [rsp + 0x28]
mov eax, dword [str.e_0_90m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b6c]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b6e]
mov byte [rdx + 6], al
mov dword [rsp + 0x20], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
lea r8d, [rcx + 0xb]
cmp r8d, edx
jle 0x14006a867
add eax, 0xb
mov dword [rsp + 0x34], eax
jmp 0x14006a8a0
movsxd rdx, ecx
add rdx, qword [rsp + 0x28]
movsd xmm0, qword [str.P2Pool_API]
movsd qword [rdx], xmm0
movzx eax, word [0x1401a4348]
mov word [rdx + 8], ax
movzx eax, byte [0x1401a434a]
mov byte [rdx + 0xa], al
mov dword [rsp + 0x20], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
lea r8d, [rcx + 7]
cmp r8d, edx
jle 0x14006a8b2
add eax, 7
mov dword [rsp + 0x34], eax
jmp 0x14006a8e7
movsxd rdx, ecx
add rdx, qword [rsp + 0x28]
mov eax, dword [str.e_0_31m]
mov dword [rdx], eax
movzx eax, word [0x1401a8b64]
mov word [rdx + 4], ax
movzx eax, byte [0x1401a8b66]
mov byte [rdx + 6], al
mov dword [rsp + 0x20], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
lea r8d, [rcx + 6]
cmp r8d, edx
jle 0x14006a8f9
add eax, 6
mov dword [rsp + 0x34], eax
jmp 0x14006a924
movsxd rdx, ecx
add rdx, qword [rsp + 0x28]
mov eax, dword [str.mkdir_]
mov dword [rdx], eax
movzx eax, word [0x1401aed08]
mov word [rdx + 4], ax
mov dword [rsp + 0x20], r8d
mov ecx, r8d
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14006a931
mov r9, qword [rbx]
mov r8, qword [rbx + 0x10]
lea ebx, [rcx + r8]
cmp ebx, edx
jle 0x14006a946
add eax, r8d
mov dword [rsp + 0x34], eax
jmp 0x14006a967
movsxd r8, r8d
movsxd rcx, ecx
add rcx, qword [rsp + 0x28]
mov rdx, r9
call fcn.140145200
mov dword [rsp + 0x20], ebx
mov ecx, ebx
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x30]
lea r8d, [rcx + 0x10]
cmp r8d, edx
jle 0x14006a979
add eax, 0x10
mov dword [rsp + 0x34], eax
jmp 0x14006a991
movsxd rcx, ecx
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [str.__failed__error]
movups xmmword [rcx + rax], xmm0
mov dword [rsp + 0x20], r8d
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140014290
movsxd rax, dword [rsp + 0x20]
lea edx, [rax + 4]
cmp edx, dword [rsp + 0x30]
jle 0x14006a9b2
add dword [rsp + 0x34], 4
jmp 0x14006a9c5
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov dword [rcx + rax], 0x6d305b1b
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x20]
call fcn.140026c70
lea rcx, str.D:_ap2poolp2pool_srcp2pool_api.cpp:96
call fcn.1400b18e0
int3