Function at 0x1403227e0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140322818
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14032283d
test rdi, rdi
je 0x140322836
xor ebx, ebx
mov dword [rdi], ebx
call fcn.14031e4a0
mov qword [rdi + 8], rax
mov al, 1
jmp 0x140322ab7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call fcn.14031e4a0
mov qword [rsp + 0x28], rax
cmp r14d, 0xb7
jne 0x14032288a
lea r8, [rsp + 0x20]
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.140324c70
cmp dword [rax], 3
jne 0x14032288a
test rdi, rdi
je 0x140322ab5
mov dword [rdi], ebx
call fcn.14031e4a0
jmp 0x140322ab1
test rdi, rdi
jne 0x140322aa9
mov qword [rbp - 0x51], rbx
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x51], bl
lea ecx, [rdi + 0x30]
call fcn.1403982c8
mov qword [rbp - 0x41], 0x28
mov qword [rbp - 0x39], 0x2f
movups xmm0, xmmword [str.mars_boost::filesystem::create_directory]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1404aade8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1404aadf8]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], bl
mov qword [rbp - 0x51], rax
call fcn.14031e4a0
mov dword [rbp - 0x69], r14d
mov qword [rbp - 0x61], rax
lea rax, [rbp - 0x51]
cmp qword [rbp - 0x39], 0x10
cmovae rax, qword [rbp - 0x51]
lea r14, vtable.std::exception.0
mov qword [rbp - 0x29], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x79], rax
mov byte [rbp - 0x71], 1
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x79]
call fcn.14039a114
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rbx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], dil
lea rdi, vtable.mars_boost::filesystem::filesystem_error.0
mov qword [rbp - 0x29], rdi
mov qword [rbp + 0x1f], rbx
mov qword [rbp + 0x27], rbx
mov ecx, 0x60
call fcn.1403982c8
test rax, rax
je 0x140322998
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov qword [rax + 0x20], rbx
mov qword [rax + 0x30], rbx
mov qword [rax + 0x38], 7
mov qword [rax + 0x40], rbx
mov qword [rax + 0x50], rbx
mov qword [rax + 0x58], reloc.WS2_32.dll_ntohs
jmp 0x14032299b
mov rax, rbx
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.1403222b0
mov rcx, qword [rbp + 0x1f]
cmp rcx, rsi
je 0x1403229c7
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1403229bd
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
call fcn.140078ce0
nop
lea rcx, [rbp - 0x29]
call fcn.14031d5c0
nop
mov qword [rbp - 0x29], rdi
mov rdi, qword [rbp + 0x27]
test rdi, rdi
je 0x140322a0c
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140322a0c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140322a0c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rax, vtable.mars_boost::system::system_error.0
mov qword [rbp - 0x29], rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140322a52
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140322a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140322ae1
call fcn.140398020
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
mov byte [rbp - 1], 0
mov qword [rbp - 0x29], r14
lea rcx, [rbp - 0x21]
call fcn.14039a1a4
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140322ab5
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140322aa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140322adb
call fcn.140398020
jmp 0x140322ab5
call fcn.14031e4a0
mov dword [rdi], r14d
mov qword [rdi + 8], rax
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140398000
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1403a7ee4
nop
call fcn.1403a7ee4
nop
int3