Function at 0x14000cfac
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
mov rax, qword [0x140181080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r12, [0x140280b78]
mov qword [rsp + 0x50], r12
xorps xmm0, xmm0
movups xmmword [0x140280b78], xmm0
and qword [0x140280b88], 0
mov qword [0x140280b90], 0xf
mov byte [0x140280b78], 0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [reloc.WS2_32.dll_connect]
movdqu xmmword [rsp + 0x68], xmm1
mov ebx, 0x73676f6c
mov dword [rsp + 0x58], ebx
mov byte [rsp + 0x5c], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov r15d, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000d081
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x14000d07c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d07c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127f74
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov ecx, 4
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0x58], ebx
mov byte [rsp + 0x5c], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140006754
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.14000b9d0
nop
lea rcx, [rsp + 0x78]
call fcn.140005b10
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14000d0fc
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
test rbx, rbx
je 0x14000d115
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x14000d153
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000d14e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000d14e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000d19d
lea rbx, [rax + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000d16e
mov rcx, qword [rbx]
call fcn.1401278a4
mov qword [rsp + 0x20], rax
shr rax, 0x20
test eax, eax
jne 0x14000d33f
lea rcx, [rsp + 0x30]
call fcn.14000baf0
mov rax, qword [rsp + 0x30]
test rax, rax
jne 0x14000d15d
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000d1da
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x14000d1d5
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000d1d5
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14000d207
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14000d207
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x14000d207
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000d243
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r15
jb 0x14000d23e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d23e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140127f74
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbp - 0x68], eax
lea r9, [rsp + 0x78]
lea r8, str.logslog_Y__m__d__H__M__S.txt
mov edx, 0x78
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x60]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14000d2a1
mov r8, rdi
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140002590
mov rdx, qword [0x140280b90]
cmp rdx, 0xf
jbe 0x14000d2f4
mov rcx, qword [0x140280b78]
inc rdx
cmp rdx, r15
jb 0x14000d2ef
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000d338
mov rcx, r8
call fcn.140127f74
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [0x140280b78], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [0x140280b88], xmm1
mov rax, r12
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140127c70
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, rbx
mov edx, dword [rsp + 0x24]
lea rcx, str.remove
call fcn.140004670
int3