Function at 0x1800a9d50
Capabilities:
Create directory

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1800a9f7b
cmp byte [rcx], 0
je 0x1800a9f7b
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov edx, 0x2f
mov rdi, rax
lea rcx, [rax + 1]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
je 0x1800a9dc6
mov rcx, rdi
mov byte [rbx], 0
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp eax, 0xffffffff
jne 0x1800a9dac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x1800a9de0
lea rcx, [rbx + 1]
mov byte [rbx], 0x2f
mov edx, 0x2f
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov rbx, rax
test rax, rax
jne 0x1800a9d90
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x40]
mov al, 1
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
mov ecx, dword [0x180148094]
mov eax, ecx
mov edx, dword [0x18014a588]
cmp edx, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1800a9e27
lea r9, str.Failed_to_create_directory__s
mov qword [rsp + 0x20], rdi
mov r8d, 0x303
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov edx, dword [0x18014a588]
mov ecx, dword [0x180148094]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1800a9e68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xd
jne 0x1800a9e5c
lea r9, str.EACCES
mov r8d, 0x304
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov ecx, dword [0x180148094]
mov edx, dword [0x18014a588]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1800a9ea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x26
jne 0x1800a9e9d
lea r9, str.ENAMETOOLONG
mov r8d, 0x305
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov ecx, dword [0x180148094]
mov edx, dword [0x18014a588]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1800a9eea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 2
jne 0x1800a9ede
lea r9, str.ENOENT
mov r8d, 0x306
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov ecx, dword [0x180148094]
mov edx, dword [0x18014a588]
cmp edx, ecx
mov eax, ecx
cmovg eax, edx
cmp eax, 0xfffffffe
jl 0x1800a9f2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x14
jne 0x1800a9f1f
lea r9, str.ENOTDIR
mov r8d, 0x307
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov ecx, dword [0x180148094]
mov edx, dword [0x18014a588]
cmp edx, ecx
cmovg ecx, edx
cmp ecx, 0xfffffffe
jl 0x1800a9f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x72
jne 0x1800a9f5e
lea r9, str.ELOOP
mov r8d, 0x308
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICLoguruloguru.cpp
mov ecx, 0xfffffffe
call fcn.1800aae50
mov rcx, rdi
mov byte [rbx], 0x2f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x40]
xor al, al
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
call fcn.1800ab050
int3