Function at 0x1402650c0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1403c2c80]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
call fcn.140262d20
mov rdx, rsi
test al, al
je 0x1402652f2
mov qword [rbp - 0x60], shutdown
mov qword [rbp - 0x68], 0
mov byte [rbp - 0x78], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.1400082f0
nop
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140263930
test al, al
jne 0x1402652b9
call fcn.140053d30
cmp byte [rax + 0x958], 0
je 0x1402652b9
mov qword [rsp + 0x78], shutdown
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x60], 0
mov r8, rsi
lea rdx, str.auto_create_local_folder_is_disabled._link_path__
lea rcx, [rbp - 0x28]
call fcn.140063000
nop
lea r8, str..lnk__is_not_accessable__n
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14000d330
mov rbx, rax
lea rax, [rsp + 0x60]
cmp rax, rbx
je 0x140265223
cmp qword [rsp + 0x78], 0x10
jb 0x1402651ba
mov rcx, qword [rsp + 0x60]
call fcn.140290ed8
mov qword [rsp + 0x78], shutdown
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x60], 0
cmp qword [rbx + 0x18], 0x10
jae 0x1402651ef
mov r8, qword [rbx + 0x10]
inc r8
mov rdx, rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCR100.dll_memmove]
jmp 0x1402651fe
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov qword [rbx], 0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x78], rax
mov qword [rbx + 0x18], shutdown
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
cmp qword [rbp - 0x38], 0x10
jb 0x140265233
mov rcx, qword [rbp - 0x50]
call fcn.140290ed8
mov qword [rbp - 0x38], shutdown
mov qword [rbp - 0x40], 0
mov byte [rbp - 0x50], 0
cmp qword [rbp - 0x10], 0x10
jb 0x140265257
mov rcx, qword [rbp - 0x28]
call fcn.140290ed8
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400092b0
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14026528b
mov rcx, qword [rsp + 0x60]
call fcn.140290ed8
mov qword [rsp + 0x78], shutdown
mov qword [rsp + 0x70], 0
mov byte [rsp + 0x60], 0
cmp qword [rbp - 0x60], 0x10
jb 0x1402652b2
mov rcx, qword [rbp - 0x78]
call fcn.140290ed8
xor al, al
jmp 0x1402658b3
lea rdx, [rbp - 0x78]
mov rcx, rbx
call fcn.140264ea0
test al, al
je 0x1402652e0
cmp qword [rbp - 0x60], 0x10
jb 0x1402652d9
mov rcx, qword [rbp - 0x78]
call fcn.140290ed8
mov al, 1
jmp 0x1402658b3
cmp qword [rbp - 0x60], 0x10
jb 0x1402652fe
mov rcx, qword [rbp - 0x78]
call fcn.140290ed8
jmp 0x1402652fe
mov rcx, rbx
call fcn.140264ea0
test al, al
jne 0x1402652d9
xor r13d, r13d
mov qword [rsp + 0x60], r13
xor edi, edi
mov qword [rsp + 0x68], rdi
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x50], shutdown
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x38], cl
xor r8d, r8d
mov dword [rsp + 0x20], r8d
xor r14d, r14d
cmp qword [rsi + 0x10], r8
je 0x140265748
movabs r12, 0x6666666666666667
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
cmp rax, 0x10
jb 0x14026535f
mov rdx, qword [rsi]
jmp 0x140265362
mov rdx, rsi
cmp byte [r14 + rdx], 0x2f
je 0x14026543a
cmp rax, 0x10
jb 0x140265378
mov rdx, qword [rsi]
jmp 0x14026537b
mov rdx, rsi
cmp byte [r14 + rdx], 0x5c
je 0x14026543a
cmp rax, 0x10
jb 0x140265391
mov rax, qword [rsi]
jmp 0x140265394
mov rax, rsi
movzx r12d, byte [rax + r14]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x140265673
lea rbx, [rcx + 1]
cmp rbx, 0xfffffffffffffffe
ja 0x140265665
cmp qword [rsp + 0x50], rbx
jae 0x1402653d6
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140008f30
mov r8d, dword [rsp + 0x20]
jmp 0x1402653f3
test rbx, rbx
jne 0x1402653fb
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax], bl
mov rcx, qword [rsp + 0x48]
test rbx, rbx
setne al
test al, al
je 0x140265642
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rcx + rax], r12b
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rbx + rax], 0
jmp 0x14026563d
test r8d, r8d
je 0x140265511
cmp rax, 0x10
jb 0x14026544e
mov rdx, qword [rsi]
jmp 0x140265451
mov rdx, rsi
cmp byte [r14 + rdx - 1], 0x3a
jne 0x140265511
cmp rax, 0x10
jb 0x140265468
mov rax, qword [rsi]
jmp 0x14026546b
mov rax, rsi
movzx r12d, byte [rax + r14]
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, 1
jbe 0x14026568f
lea rbx, [rcx + 1]
cmp rbx, 0xfffffffffffffffe
ja 0x140265681
cmp qword [rsp + 0x50], rbx
jae 0x1402654ad
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140008f30
mov r8d, dword [rsp + 0x20]
jmp 0x1402654ca
test rbx, rbx
jne 0x1402654d2
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax], bl
mov rcx, qword [rsp + 0x48]
test rbx, rbx
setne al
test al, al
je 0x140265642
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + rcx], r12b
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + rbx], 0
jmp 0x14026563d
lea rax, [rsp + 0x38]
cmp rax, rdi
jae 0x14026557f
lea rax, [rsp + 0x38]
cmp r13, rax
ja 0x14026557f
lea rcx, [rsp + 0x38]
sub rcx, r13
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rdi, r15
jne 0x140265567
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140011fb0
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
lea rax, [rbx + rbx*4]
lea r8, [r13 + rax*8]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400121ac
jmp 0x1402655b4
cmp rdi, r15
jne 0x1402655a2
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140011fb0
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
lea r8, [rsp + 0x38]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400121dc
add rdi, 0x28
mov qword [rsp + 0x68], rdi
mov edx, 0xf
mov qword [rbp - 0x60], rdx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov byte [rbp - 0x78], cl
cmp qword [rsp + 0x50], 0x10
jb 0x1402655e9
mov rcx, qword [rsp + 0x38]
call fcn.140290ed8
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x50], shutdown
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
cmp rdx, 0x10
jae 0x140265623
lea r8, [rcx + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCR100.dll_memmove]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
jmp 0x14026562c
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov r8d, dword [rsp + 0x20]
jmp 0x14026564c
mov rcx, qword [rsp + 0x48]
movabs r12, 0x6666666666666667
inc r8d
mov dword [rsp + 0x20], r8d
inc r14
movsxd rax, r8d
cmp rax, qword [rsi + 0x10]
je 0x14026569d
jmp 0x140265350
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.string_too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
test rcx, rcx
je 0x140265748
lea rcx, [rsp + 0x38]
cmp rcx, rdi
jae 0x14026570f
lea rcx, [rsp + 0x38]
cmp r13, rcx
ja 0x14026570f
lea rcx, [rsp + 0x38]
sub rcx, r13
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp rdi, r15
jne 0x1402656f7
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140011fb0
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
lea rax, [rbx + rbx*4]
lea r8, [r13 + rax*8]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400121ac
jmp 0x14026573f
cmp rdi, r15
jne 0x14026572d
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140011fb0
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
lea r8, [rsp + 0x38]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400121dc
add rdi, 0x28
mov qword [rsp + 0x68], rdi
mov ecx, 0xf
mov qword [rbp - 0x60], rcx
xor edx, edx
mov qword [rbp - 0x68], rdx
mov byte [rbp - 0x78], dl
cmp qword [rsp + 0x50], 0x10
jb 0x140265774
mov rcx, qword [rsp + 0x38]
call fcn.140290ed8
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov qword [rsp + 0x50], shutdown
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
cmp rcx, 0x10
jae 0x1402657ae
lea r8, [rdx + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCR100.dll_memmove]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
jmp 0x1402657b7
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rcx
xor r12b, r12b
mov rbx, r13
cmp r13, rdi
je 0x140265828
nop dword [rax]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14000d060
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne r12b
mov r8d, 1
lea rdx, [0x1403240c4]
lea rcx, [rsp + 0x38]
call fcn.14000cf20
add rbx, 0x28
cmp rbx, rdi
jne 0x1402657d0
test r12b, r12b
jne 0x14026585b
mov r8, rsi
lea rdx, str.fail_to_create_directory:
lea rcx, [rbp - 0x28]
call fcn.140063000
nop
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call fcn.14000c8d0
nop
cmp qword [rbp - 0x10], 0x10
jb 0x14026585b
mov rcx, qword [rbp - 0x28]
call fcn.140290ed8
nop
cmp qword [rsp + 0x50], 0x10
jb 0x14026586d
mov rcx, qword [rsp + 0x38]
call fcn.140290ed8
mov qword [rsp + 0x50], shutdown
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x38], 0
test r13, r13
je 0x1402658af
mov rbx, r13
cmp r13, rdi
je 0x1402658a7
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400122b8
add rbx, 0x28
cmp rbx, rdi
jne 0x140265891
mov rcx, r13
call fcn.140290ed8
movzx eax, r12b
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1402912a0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret