Function at 0x140047000
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140113190]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x140047058
test rdx, rdx
je 0x1400472db
mov dword [rdx], 0x16
mov byte [rdx + 4], 1
lea rax, [0x1400f0c68]
mov qword [rdx + 8], rax
xor al, al
jmp 0x140047265
lea rdx, [rsp + 0x40]
call fcn.140045dd0
cmp qword [rbp - 0x79], 1
jne 0x140047084
lea rax, [rsp + 0x40]
cmp qword [rbp - 0x71], 8
cmovae rax, qword [rsp + 0x40]
cmp word [rax], 0x2e
jne 0x140047084
mov sil, 1
jmp 0x140047087
xor sil, sil
lea rcx, [rsp + 0x40]
call fcn.140001df0
test sil, sil
jne 0x14004723e
mov rax, qword [rdi + 0x10]
cmp rax, 2
jb 0x140047109
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x1400470b4
mov rdx, qword [rdi]
cmp word [rdx + rax*2 - 2], 0x2e
jne 0x140047109
mov rdx, rdi
cmp rcx, 8
jb 0x1400470c8
mov rdx, qword [rdi]
cmp word [rdx + rax*2 - 4], 0x2e
jne 0x140047109
cmp rax, 2
je 0x14004723e
mov rdx, rdi
cmp rcx, 8
jb 0x1400470e6
mov rdx, qword [rdi]
movzx ecx, word [rdx + rax*2 - 6]
sub cx, 0x2f
cmp cx, 0x2d
ja 0x140047109
movabs rax, 0x200000000801
bt rax, rcx
jb 0x14004723e
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov byte [rsp + 0x24], r15b
lea r14, [0x1400f0c78]
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140047780
cmp dword [rsp + 0x30], 3
jne 0x140047152
test rbx, rbx
je 0x14004714b
mov dword [rbx], r15d
mov byte [rbx + 4], r15b
mov qword [rbx + 8], r14
xor al, al
jmp 0x140047265
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140046b00
nop
cmp qword [rbp - 0x39], 0
je 0x1400471b7
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x30]
call fcn.140047780
cmp dword [rsp + 0x30], 1
jne 0x1400471b7
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.140047000
nop
cmp dword [rsp + 0x20], 0
je 0x1400471b7
test rbx, rbx
je 0x140047329
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
lea rcx, [rbp - 0x49]
call fcn.140001df0
xor al, al
jmp 0x140047265
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400471c4
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400471e4
test rbx, rbx
je 0x1400471e0
mov dword [rbx], r15d
mov byte [rbx + 4], 0
mov qword [rbx + 8], r14
mov bl, 1
jmp 0x140047238
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x40], r15d
mov byte [rsp + 0x44], 0
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140047780
cmp dword [rax], 3
jne 0x140047224
test rbx, rbx
je 0x140047236
mov dword [rbx], r15d
mov byte [rbx + 4], 0
mov qword [rbx + 8], r14
jmp 0x140047236
test rbx, rbx
je 0x140047288
mov r8, r14
mov edx, esi
mov rcx, rbx
call fcn.140046f90
xor bl, bl
lea rcx, [rbp - 0x49]
jmp 0x14004725d
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140046b00
nop
mov rdx, rbx
mov rcx, rax
call fcn.140047000
movzx ebx, al
lea rcx, [rbp - 0x69]
call fcn.140001df0
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140043ec0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.boost::filesystem::create_directory
lea rcx, [rbp - 0x69]
call fcn.140008ca0
nop
call fcn.140011240
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140011250
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400481b0
lea rdx, [0x14010f4b0]
lea rcx, [rbp - 0x29]
call fcn.140097e20
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x69]
call fcn.140008ca0
nop
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.140047440
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400481b0
lea rdx, [0x14010f4b0]
lea rcx, [rbp - 0x29]
call fcn.140097e20
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x69]
call fcn.140008ca0
nop
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x29]
call fcn.1400481b0
lea rdx, [0x14010f4b0]
lea rcx, [rbp - 0x29]
call fcn.140097e20
int3