Function at 0x140006730
Capabilities:
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
cmp qword [rcx + 8], 0
mov qword [rsp + 0x1e0], rcx
mov qword [rsp + 0x1e8], rdx
je 0x140006f38
cmp qword [rsp + 0x1e8], 0
je 0x14000677f
mov dword [rdx], 0
mov qword [rdx + 8], 0
mov qword [rdx + 0x10], 0
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x130]
lea r13, [rsp + 0x160]
call fcn.140011cc0
mov rax, qword [rsp + 0x138]
lea rcx, [rsp + 0x170]
mov rdi, qword [rsp + 0x130]
mov qword [rsp + 0x60], rcx
lea rbx, [rax + rax]
mov qword [rsp + 0x160], rcx
mov rsi, rbx
sar rsi, 1
mov qword [rsp + 0x110], rsi
mov rax, rsi
cmp rbx, 0xe
ja 0x140006c48
cmp rsi, 1
je 0x140006c38
test rsi, rsi
je 0x14000680a
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x160]
xor ebx, ebx
mov qword [rsp + 0x168], rax
lea rbp, [rsp + 0xd0]
mov word [rcx + rax*2], bx
mov rax, qword [rsp + 0x150]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x1e0]
mov rdi, qword [rax]
mov rax, qword [rax + 8]
lea rbx, [rax + rax]
mov qword [rsp + 0x38], rax
mov rsi, rbx
sar rsi, 1
mov qword [rsp + 0x110], rsi
mov rax, rsi
cmp rbx, 0xe
ja 0x140006f88
cmp rsi, 1
je 0x140006f78
test rsi, rsi
je 0x1400068b2
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd0]
xor r11d, r11d
mov qword [rsp + 0xd8], rax
mov word [rcx + rax*2], r11w
call fcn.140013b80
mov qword [rsp + 0x40], rax
call fcn.140013b90
mov rcx, rbp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
call fcn.140010cc0
lea rbx, [rax + rax]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
lea r15, [rsp + 0x100]
mov rsi, rbx
mov qword [rsp + 0xf0], r15
sub rdx, rax
sar rsi, 1
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
lea rdi, [rcx + rdx*2]
mov rax, rsi
mov rcx, r15
mov qword [rsp + 0x110], rsi
cmp rbx, 0xe
ja 0x140006fc0
cmp rsi, 1
je 0x140006f68
test rsi, rsi
je 0x140006981
mov r8, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xf0]
xor r10d, r10d
mov qword [rsp + 0xf8], rax
lea r14, [rsp + 0x70]
lea rdi, [rsp + 0x120]
mov word [rcx + rax*2], r10w
lea rax, [rsp + 0x110]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x58], rax
nop dword [rax + rax]
mov rdx, rbp
mov rcx, r14
call fcn.140010910
cmp qword [rsp + 0x78], 0
je 0x140006b2f
cmp qword [rsp + 0xf8], 0
je 0x1400069f9
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140012670
test eax, eax
jne 0x140006d20
mov rcx, r13
call fcn.1400139b0
mov rcx, rbp
call fcn.140010a60
mov rcx, rbp
call fcn.140010cc0
lea rbx, [rax + rax]
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x110], rdi
mov rsi, rbx
sub rdx, rax
sar rsi, 1
lea r12, [rcx + rdx*2]
mov qword [rsp + 0xa8], rsi
mov rax, rsi
mov rcx, rdi
cmp rbx, 0xe
ja 0x140006c98
cmp rsi, 1
je 0x140006c88
test rsi, rsi
je 0x140006a7c
mov r8, rbx
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
xor r9d, r9d
mov qword [rsp + 0x118], rax
lea r8, [rax + rax]
mov word [rcx + rax*2], r9w
mov r9, qword [rsp + 0xf0]
cmp rcx, rdi
je 0x140006cd0
cmp r9, r15
je 0x140006cf8
movq xmm0, rax
mov rdx, qword [rsp + 0x100]
mov qword [rsp + 0xf0], rcx
movhps xmm0, qword [rsp + 0x120]
movups xmmword [rsp + 0xf8], xmm0
test r9, r9
je 0x1400069c0
mov qword [rsp + 0x110], r9
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x118], 0
xor edx, edx
mov word [r9], dx
cmp r9, rdi
je 0x1400069c0
mov rax, qword [rsp + 0x120]
mov rcx, r9
lea rdx, [rax + rax + 2]
call fcn.1403cd470
mov rdx, rbp
mov rcx, r14
call fcn.140010910
cmp qword [rsp + 0x78], 0
jne 0x1400069d7
mov rcx, qword [rsp + 0xf0]
cmp rcx, r15
je 0x140006b4e
mov rax, qword [rsp + 0x100]
lea rdx, [rax + rax + 2]
call fcn.1403cd470
xor ebx, ebx
jmp 0x140006b8b
mov rdx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x168]
mov rcx, rbp
lea r8, [rdx + rax*2]
call fcn.14000fdd0
cmp qword [rsp + 0x168], 0
jne 0x140006e10
mov rcx, r13
call fcn.140012250
mov rax, qword [rsp + 0x150]
cmp qword [rsp + 0x180], rax
jne 0x140006b58
mov rax, qword [rsp + 0x158]
cmp qword [rsp + 0x188], rax
jne 0x140006b58
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x68]
cmp rcx, rax
je 0x140006bd3
mov rax, qword [rsp + 0xe0]
lea rdx, [rax + rax + 2]
call fcn.1403cd470
mov rcx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x60]
cmp rcx, rax
je 0x140006bf7
mov rax, qword [rsp + 0x170]
lea rdx, [rax + rax + 2]
call fcn.1403cd470
mov rcx, qword [rsp + 0x130]
lea rax, [rsp + 0x140]
cmp rcx, rax
je 0x140006c1e
mov rax, qword [rsp + 0x140]
lea rdx, [rax + rax + 2]
call fcn.1403cd470
mov eax, ebx
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx edx, word [rdi]
mov word [rcx], dx
jmp 0x14000680a
lea rdx, [rsp + 0x110]
xor r8d, r8d
mov rcx, r13
call fcn.140399a10
mov qword [rsp + 0x160], rax
mov rcx, rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x170], rax
cmp rsi, 1
jne 0x1400067ea
jmp 0x140006c38
movzx edx, word [r12]
mov word [rcx], dx
jmp 0x140006a7c
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0xa8]
xor r8d, r8d
call fcn.140399a10
mov qword [rsp + 0x110], rax
mov rcx, rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x120], rax
jmp 0x140006a52
test rax, rax
jne 0x140006dc0
mov rdx, r9
mov r9, rdi
xor ecx, ecx
mov qword [rsp + 0xf8], rax
mov word [rdx + r8], cx
jmp 0x140006ae8
movq xmm0, rax
mov qword [rsp + 0xf0], rcx
movhps xmm0, qword [rsp + 0x120]
movups xmmword [rsp + 0xf8], xmm0
jmp 0x1400069c0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call fcn.140012670
test eax, eax
je 0x1400069f9
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140005de0
mov eax, dword [rsp + 0x110]
cmp eax, 3
je 0x140006b2f
test eax, eax
jne 0x1400069f9
cmp qword [rsp + 0x1e8], 0
je 0x14040ce17
mov rax, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1e8]
movdqa xmm1, xmmword [rsp + 0xb0]
mov rcx, qword [rsp + 0xf0]
movups xmmword [rax], xmm1
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x10], rax
cmp rcx, r15
je 0x140006db7
mov rax, qword [rsp + 0x100]
lea rdx, [rax + rax + 2]
call fcn.1403cd470
xor ebx, ebx
jmp 0x140006baf
cmp rax, 1
je 0x140006df8
mov rdx, rdi
mov rcx, r9
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xf0]
mov r9, qword [rsp + 0x110]
lea r8, [rax + rax]
jmp 0x140006cdf
movzx edx, word [rsp + 0x120]
mov word [r9], dx
jmp 0x140006cd9
mov rdx, qword [rsp + 0x40]
mov rcx, r13
call fcn.140012670
test eax, eax
je 0x140006b83
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140012670
test eax, eax
je 0x140006b83
mov dword [rsp + 0xb0], 0
mov rcx, qword [rsp + 0xd0]
xor edx, edx
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, 1
test eax, eax
jne 0x140006edb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
mov ebx, eax
lea r8, [rsp + 0x110]
mov dword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
call fcn.140005de0
cmp dword [rsp + 0xf0], 3
je 0x140006ed9
lea r9, str.boost::filesystem::create_directory
lea r8, [rsp + 0xb0]
mov rdx, rbp
mov ecx, ebx
call fcn.140014c20
xor ebx, ebx
mov rax, qword [rsp + 0xc0]
test al, 1
je 0x140006b83
cmp rax, 1
je 0x140006ff5
cmp qword [rsp + 0x1e8], 0
je 0x14040ce82
mov rax, qword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1e8]
movdqa xmm5, xmmword [rsp + 0xb0]
movups xmmword [rax], xmm5
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x10], rax
xor ebx, ebx
jmp 0x140006baf
test rdx, rdx
je 0x14040cf7d
lea rbx, str.PMP_
mov dword [rdx], 0x16
mov qword [rdx + 8], rbx
xor ebx, ebx
mov qword [rdx + 0x10], 3
jmp 0x140006c1e
movzx edx, word [rdi]
mov word [rcx], dx
jmp 0x140006981
movzx edx, word [rdi]
mov word [rcx], dx
jmp 0x1400068b2
lea rdx, [rsp + 0x110]
xor r8d, r8d
mov rcx, rbp
call fcn.140399a10
mov qword [rsp + 0xd0], rax
mov rcx, rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xe0], rax
jmp 0x140006888
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x110]
xor r8d, r8d
call fcn.140399a10
mov qword [rsp + 0xf0], rax
mov rcx, rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x100], rax
jmp 0x140006957
mov eax, dword [rsp + 0xb0]
test eax, eax
je 0x140006b83
jmp 0x140006ef5
mov ecx, 0x30
call fcn.1403cd580
mov r8, qword [rsp + 0x1e0]
mov r9, rbp
movdqa xmm3, xmmword [rsp + 0xb0]
mov rsi, rax
mov rax, qword [rsp + 0xc0]
lea rdx, str.boost::filesystem::create_directories
mov rcx, rsi
movaps xmmword [rsp + 0x80], xmm3
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.140014c60
lea r8, [0x140014380]
lea rdx, [0x1404e9370]
mov rcx, rsi
call fcn.1403cdb10
mov ecx, 0x30
call fcn.1403cd580
mov r8, qword [rsp + 0x1e0]
mov r9, rbp
movdqa xmm4, xmmword [rsp + 0xb0]
mov rsi, rax
mov rax, qword [rsp + 0xc0]
lea rdx, str.boost::filesystem::create_directories
mov rcx, rsi
movaps xmmword [rsp + 0x80], xmm4
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.140014c60
lea r8, [0x140014380]
lea rdx, [0x1404e9370]
mov rcx, rsi
call fcn.1403cdb10
mov rcx, rsi
mov rbx, rax
call fcn.1403cd7f0
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0x68]
cmp rcx, rax
je 0x14040cf1e
mov rax, qword [rsp + 0xe0]
lea rdx, [rax + 1]
add rdx, rdx
call fcn.1403cd470
mov rcx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x60]
cmp rcx, rax
je 0x14040cf44
mov rax, qword [rsp + 0x170]
lea rdx, [rax + 1]
add rdx, rdx
call fcn.1403cd470
mov rcx, qword [rsp + 0x130]
lea rax, [rsp + 0x140]
cmp rcx, rax
je 0x14040cf6d
mov rax, qword [rsp + 0x140]
lea rdx, [rax + 1]
add rdx, rdx
call fcn.1403cd470
mov rcx, rbx
call fcn.1401963f0
mov rbx, rax
jmp 0x14040cef8
mov ecx, 0x30
call fcn.1403cd580
mov r8, qword [rsp + 0x1e0]
mov dword [rsp + 0x160], 0x16
lea r9, [rsp + 0x80]
mov rbx, rax
lea rax, str.PMP_
lea rdx, str.boost::filesystem::create_directories
mov qword [rsp + 0x170], 3
mov qword [rsp + 0x168], rax
mov rcx, rbx
movdqa xmm2, xmmword [rsp + 0x160]
mov qword [rsp + 0x90], 3
movaps xmmword [rsp + 0x80], xmm2
call fcn.140014a70
lea r8, [0x140014380]
lea rdx, [0x1404e9370]
mov rcx, rbx
call fcn.1403cdb10
mov rsi, rax
mov rcx, rbx
call fcn.1403cd7f0
mov rcx, rsi
call fcn.1401963f0
mov rbx, rax
jmp 0x14040d025
mov rcx, qword [rsp + 0xf0]
cmp rcx, r15
je 0x14040cef8
mov rax, qword [rsp + 0x100]
lea rdx, [rax + 1]
add rdx, rdx
call fcn.1403cd470
jmp 0x14040cef8