Function at 0x140006580
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140055080]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea rsi, [0x140057d20]
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movups xmmword [0x140057d20], xmm0
mov qword [0x140057d30], rdi
mov qword [0x140057d38], rdi
xor r8d, r8d
lea rdx, [0x14004d910]
mov rcx, rsi
call fcn.140001c50
nop
lea rax, [0x140057d40]
mov qword [rsp + 0x50], rax
lea rax, [0x14004dcd0]
mov qword [0x140057d40], rax
mov qword [0x140057df0], rdi
mov qword [0x140057df8], rdi
mov dword [0x140057e00], edi
mov qword [0x140057e08], rdi
xorps xmm0, xmm0
movdqa xmmword [0x140057e10], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x140057e20], xmm1
movdqa xmmword [0x140057e30], xmm0
mov byte [0x140057e40], dil
mov dword [rsp + 0x30], 2
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [0x140057de8], r15
mov dword [0x140057de4], 0x98
xor r8d, r8d
lea rdx, [0x140057d48]
lea rcx, [0x140057de8]
call fcn.14000a640
nop
mov rax, qword [0x140057d40]
movsxd rdx, dword [rax + 4]
lea r14, [0x14004dcc8]
mov qword [rdx + rsi + 0x20], r14
mov rax, qword [0x140057d40]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xa8]
mov dword [rdx + rsi + 0x1c], r8d
lea rcx, [0x140057d48]
call fcn.140009aa0
nop
lea rdx, [rsp + 0x58]
call fcn.140005c90
cmp qword [rax + 0x18], 0xf
jbe 0x1400066db
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400066fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400066fb
mov bl, 1
jmp 0x1400066fd
xor bl, bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000673a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006735
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006afc
call fcn.140015e38
lea rdx, [rsp + 0x78]
test bl, bl
jne 0x140006b02
call fcn.140005d40
nop
mov r8d, 4
lea rdx, str..log
mov rcx, rax
call fcn.140001a70
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400067c1
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400067bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006b25
call fcn.140015e38
movdqa xmm0, xmmword [0x14004e580]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea rdx, [rsp + 0x58]
call fcn.140005c90
nop
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0xf
cmova rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140001a70
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000687a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006b2b
call fcn.140015e38
movdqa xmm0, xmmword [0x14004e580]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
lea rcx, [rbp - 0x68]
call fcn.140009b30
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x68], r14
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x6c], edx
lea rbx, [rsi + 0x20]
lea rax, [rbp - 0x68]
cmp rbx, rax
je 0x1400069b8
lea rcx, [rbx + 8]
call fcn.1400099a0
mov rax, qword [rbx]
movsxd r8, dword [rax + 4]
add r8, rbx
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
lea r9, [rbp - 0x68]
add r9, rcx
cmp r8, r9
je 0x140006988
mov ecx, dword [r8 + 0x10]
mov eax, dword [r9 + 0x10]
mov dword [r8 + 0x10], eax
mov dword [r9 + 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov eax, dword [r9 + 0x14]
mov dword [r8 + 0x14], eax
mov dword [r9 + 0x14], ecx
mov ecx, dword [r8 + 0x18]
mov eax, dword [r9 + 0x18]
mov dword [r8 + 0x18], eax
mov dword [r9 + 0x18], ecx
mov rcx, qword [r8 + 0x20]
mov rax, qword [r9 + 0x20]
mov qword [r8 + 0x20], rax
mov qword [r9 + 0x20], rcx
mov rcx, qword [r8 + 0x28]
mov rax, qword [r9 + 0x28]
mov qword [r8 + 0x28], rax
mov qword [r9 + 0x28], rcx
mov rcx, qword [r8 + 0x30]
mov rax, qword [r9 + 0x30]
mov qword [r8 + 0x30], rax
mov qword [r9 + 0x30], rcx
mov rcx, qword [r8 + 0x38]
mov rax, qword [r9 + 0x38]
mov qword [r8 + 0x38], rax
mov qword [r9 + 0x38], rcx
mov rcx, qword [r8 + 0x40]
mov rax, qword [r9 + 0x40]
mov qword [r8 + 0x40], rax
mov qword [r9 + 0x40], rcx
movzx edx, byte [r8 + 0x58]
movzx eax, byte [r9 + 0x58]
mov byte [r8 + 0x58], al
mov byte [r9 + 0x58], dl
mov rdx, qword [r8 + 0x50]
mov rax, qword [r9 + 0x50]
mov qword [r8 + 0x50], rax
mov qword [r9 + 0x50], rdx
lea rdx, [rbp - 0x60]
lea rcx, [rbx + 8]
call fcn.14000a800
nop
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x68], r14
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x6c], edx
lea rcx, [rbp - 0x60]
call fcn.140007e80
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x68], r15
mov rax, qword [rbp - 0x68]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x40]
call fcn.140014dbc
nop
cmp qword [rsi + 0xa8], 0
je 0x140006b31
lea r8, str.Log_started
mov edx, 1
call fcn.140006060
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140006a72
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006b5b
call fcn.140015e38
movdqa xmm0, xmmword [0x14004e580]
movdqu xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0xc0], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x140006ac7
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006af6
call fcn.140015e38
nop
mov rax, rsi
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140015bd0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14001c8bc
nop
call fcn.14001c8bc
int3
call fcn.1400016a0
nop
mov r8, rax
lea rdx, str.Failed_to_create_the_log_folder_
lea rcx, [rsp + 0x58]
call fcn.140001b20
mov rdx, rax
call fcn.140001880
nop
call fcn.14001c8bc
nop
call fcn.14001c8bc
int3
lea rdx, [rbp + 0xa0]
call fcn.1400016a0
nop
mov r8, rax
lea rdx, str.Failed_to_open_the_log_file_
lea rcx, [rsp + 0x78]
call fcn.140001b20
mov rdx, rax
call fcn.140001880
nop
call fcn.14001c8bc
int3