Function at 0x1400217e0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov rax, qword [0x14010a080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r13, [0x1401ba798]
mov qword [rsp + 0x50], r13
xorps xmm0, xmm0
movups xmmword [0x1401ba798], xmm0
and qword [0x1401ba7a8], 0
mov qword [0x1401ba7b0], 0xf
mov byte [0x1401ba798], 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 r12d, 0x1000
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400218b5
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r12
jb 0x1400218b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400218b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0014
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 + 0x40], rax
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140018a3c
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.140024dc4
test eax, eax
jne 0x140021ba8
lea rcx, [rsp + 0x78]
call fcn.140009fa8
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140021940
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x140021959
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x38]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x1400219a3
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x14002199e
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 0x14002199e
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400219a3
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x30], 0
je 0x1400219eb
mov rax, qword [rsp + 0x40]
lea rsi, [rax + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400219c1
mov rcx, qword [rsi]
call fcn.1400d19a8
mov qword [rsp + 0x20], rax
shr rax, 0x20
test eax, eax
jne 0x140021b94
lea rcx, [rsp + 0x40]
call fcn.1400203f8
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x1400219b0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140021a28
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x140021a23
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140021a23
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140021a5c
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x140021a5c
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 0x140021a5c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140021a98
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, r12
jb 0x140021a93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021a93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0014
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 0x140021af6
mov r8, rdi
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.14000bfa0
mov rdx, qword [0x1401ba7b0]
cmp rdx, 0xf
jbe 0x140021b49
mov rcx, qword [0x1401ba798]
inc rdx
cmp rdx, r12
jb 0x140021b44
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021b8d
mov rcx, r8
call fcn.1400d0014
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [0x1401ba798], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [0x1401ba7a8], xmm1
mov rax, r13
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400cfd70
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, rsi
mov edx, dword [rsp + 0x24]
lea rcx, [0x1400eccc4]
call fcn.140002b6c
nop
lea r8, [rsp + 0x78]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002b6c
int3