Function at 0x1801877c0
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
movzx esi, dl
mov rbx, rcx
mov dword [rbp - 0x30], 2
lea rax, [0x18034af90]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x10], xmm0
mov r8d, 1
lea rdx, [rbp - 0x10]
call sym.Qt5Core.dll_public:_bool___cdecl_QString::startsWith_class_QLatin1String__enum_Qt::CaseSensitivity_const___ptr64
test al, al
je 0x180187832
lea rcx, [rbp + 0x38]
call sym.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_
mov r8d, 1
movzx edx, word [rax]
mov rcx, rbx
call sym.Qt5Core.dll_public:_int___cdecl_QString::count_class_QChar__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 3
jle 0x1801878e4
mov rcx, qword [rbx]
cmp dword [rcx + 4], 2
jne 0x18018784b
mov rax, qword [rcx + 0x10]
cmp word [rax + rcx + 2], 0x3a
je 0x1801878e4
mov edi, 0xffffffff
test sil, sil
je 0x1801878c2
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.180184a20
nop
lea rcx, [rbp - 0x48]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne sil
mov rax, qword [rbp - 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x180187899
cmp ecx, edi
je 0x1801878ab
mov ecx, edi
mov rax, qword [rbp - 0x48]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1801878ab
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x48]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test sil, sil
je 0x1801878c2
mov al, 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x50]
call sym.Qt5Core.dll_public:_static_class_QChar___cdecl_QDir::separator_void_
mov r9d, 1
mov r8d, edi
movzx edx, word [rax]
mov rcx, rbx
call sym.Qt5Core.dll_public:_int___cdecl_QString::lastIndexOf_class_QChar__int__enum_Qt::CaseSensitivity_const___ptr64
cmp eax, 1
jge 0x1801878f6
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov r8d, eax
lea rdx, [rbp - 0x30]
mov rcx, rbx
call sym.Qt5Core.dll_public:_class_QString___cdecl_QString::left_int____ptr64
nop
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.1801877c0
test al, al
je 0x180187993
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.180184a20
nop
lea rcx, [rbp - 0x40]
call sym.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne sil
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x18018795a
cmp ecx, 0xffffffff
je 0x18018796c
mov ecx, edi
mov rax, qword [rbp - 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18018796c
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x40]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
test sil, sil
je 0x180187975
mov bl, 1
jmp 0x180187995
mov byte [rbp + 0x30], 0
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.18018a390
test al, al
je 0x180187993
cmp byte [rbp + 0x30], 0
je 0x180187993
mov bl, 1
jmp 0x180187995
xor bl, bl
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1801879b1
cmp ecx, 0xffffffff
je 0x1801879c3
mov rcx, qword [rbp - 0x30]
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1801879c3
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbp - 0x30]
call sym.Qt5Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64__
movzx eax, bl
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret