Function at 0x140032a80
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 [0x1401dc478]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x140032ad8
test rdx, rdx
je 0x140032d52
mov dword [rdx], reloc.WS2_32.dll_shutdown
mov byte [rdx + 4], 1
lea rax, [0x140181538]
mov qword [rdx + 8], rax
xor al, al
jmp 0x140032cdc
lea rdx, [rsp + 0x40]
call fcn.140031810
cmp qword [rbp - 0x79], 1
jne 0x140032b0b
lea rax, [rsp + 0x40]
cmp qword [rbp - 0x71], 8
cmovae rax, qword [rsp + 0x40]
cmp word [rax], 0x2e
jne 0x140032b0b
lea rcx, [rsp + 0x40]
call fcn.140016660
jmp 0x140032b80
lea rcx, [rsp + 0x40]
call fcn.140016660
mov rax, qword [rdi + 0x10]
cmp rax, 2
jb 0x140032ba4
mov rdx, rdi
mov rcx, qword [rdi + 0x18]
cmp rcx, 8
jb 0x140032b33
mov rdx, qword [rdi]
cmp word [rdx + rax*2 - 2], 0x2e
jne 0x140032ba4
mov rdx, rdi
cmp rcx, 8
jb 0x140032b47
mov rdx, qword [rdi]
cmp word [rdx + rax*2 - 4], 0x2e
jne 0x140032ba4
cmp rax, 2
je 0x140032b80
mov rdx, rdi
cmp rcx, 8
jb 0x140032b61
mov rdx, qword [rdi]
movzx ecx, word [rdx + rax*2 - 6]
sub cx, 0x2f
cmp cx, 0x2d
ja 0x140032ba4
movabs rax, 0x200000000801
bt rax, rcx
jae 0x140032ba4
lea rdx, [rbp - 0x69]
mov rcx, rdi
call fcn.140032480
nop
mov rdx, rbx
mov rcx, rax
call fcn.140032a80
movzx ebx, al
lea rcx, [rbp - 0x69]
jmp 0x140032cd4
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov byte [rsp + 0x24], r15b
lea r14, [0x140181528]
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140033210
cmp dword [rsp + 0x30], 3
jne 0x140032bed
test rbx, rbx
je 0x140032be6
mov dword [rbx], r15d
mov byte [rbx + 4], r15b
mov qword [rbx + 8], r14
xor al, al
jmp 0x140032cdc
lea rdx, [rbp - 0x49]
mov rcx, rdi
call fcn.140032480
nop
cmp qword [rbp - 0x39], 0
je 0x140032c52
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x30]
call fcn.140033210
cmp dword [rsp + 0x30], 1
jne 0x140032c52
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.140032a80
nop
cmp dword [rsp + 0x20], 0
je 0x140032c52
test rbx, rbx
je 0x140032da0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
lea rcx, [rbp - 0x49]
call fcn.140016660
xor al, al
jmp 0x140032cdc
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140032c5f
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140032c7f
test rbx, rbx
je 0x140032c7b
mov dword [rbx], r15d
mov byte [rbx + 4], 0
mov qword [rbx + 8], r14
mov bl, 1
jmp 0x140032cd0
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.140033210
cmp dword [rax], 3
jne 0x140032cbb
test rbx, rbx
je 0x140032cce
mov dword [rbx], r15d
mov byte [rbx + 4], 0
jmp 0x140032cca
test rbx, rbx
je 0x140032cff
mov dword [rbx], esi
test esi, esi
setne al
mov byte [rbx + 4], al
mov qword [rbx + 8], r14
xor bl, bl
lea rcx, [rbp - 0x49]
call fcn.140016660
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401623e0
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.14000f250
nop
call fcn.140030a50
mov r8, rax
mov edx, esi
lea rcx, [rsp + 0x30]
call fcn.140030230
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.1400337c0
lea rdx, [0x1401d3360]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x69]
call fcn.14000f250
nop
mov edx, reloc.WS2_32.dll_shutdown
lea rcx, [rsp + 0x30]
call fcn.140032ed0
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.1400337c0
lea rdx, [0x1401d3360]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.boost::filesystem::create_directories
lea rcx, [rbp - 0x69]
call fcn.14000f250
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.1400337c0
lea rdx, [0x1401d3360]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
int3