Function at 0x140044900
Capabilities:
Create directory

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x15c0]
mov eax, 0x16c0
call fcn.140056b90
sub rsp, rax
mov rax, qword [0x140098020]
xor rax, rsp
mov qword [rbp + 0x15b0], rax
mov rdi, rcx
xor r14d, r14d
lea rcx, [rbp + 0x190]
mov dword [rbp + 0x390], r14d
call fcn.140044610
test al, al
jne 0x140044966
lea r8d, [r14 + 0x23]
lea rdx, str.yolox::AppFiles::Initialize
lea rcx, str.FAIL:__s:_u
call fcn.140043540
xor al, al
jmp 0x140044d42
mov qword [rsp + 0x16e8], rbx
mov ebx, dword [rbp + 0x390]
cmp ebx, dword [rdi + 0xc]
jbe 0x14004498c
mov rcx, qword [rdi]
mov edx, ebx
add rdx, rdx
call fcn.14005aec8
mov qword [rdi], rax
mov dword [rdi + 0xc], ebx
mov rdx, qword [rdi]
lea r8, [rbp + 0x190]
lea r8, [r8 + rbx*2]
mov dword [rdi + 8], ebx
lea rax, [rbp + 0x190]
cmp rax, r8
je 0x1400449c3
lea rcx, [rbp + 0x190]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp rcx, r8
jne 0x1400449b0
lea rax, [0x14007b510]
mov dword [rsp + 0x30], 5
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x190]
call fcn.140044480
test al, al
jne 0x1400449f7
mov r8d, 0x2b
jmp 0x140044b83
mov ebx, dword [rbp + 0x390]
cmp ebx, dword [rdi + 0x1c]
jbe 0x140044a17
mov rcx, qword [rdi + 0x10]
mov edx, ebx
add rdx, rdx
call fcn.14005aec8
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x1c], ebx
mov rdx, qword [rdi + 0x10]
lea r8, [rbp + 0x190]
lea r8, [r8 + rbx*2]
mov dword [rdi + 0x18], ebx
lea rax, [rbp + 0x190]
cmp rax, r8
je 0x140044a53
lea rcx, [rbp + 0x190]
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp rcx, r8
jne 0x140044a40
lea rdx, [rbp + 0x3a0]
mov rcx, rdi
call fcn.1400450f0
mov rdx, rax
lea rcx, [rbp + 0x5b0]
mov ebx, dword [rax + 0x200]
lea r8d, [rbx + rbx]
call fcn.140057f80
lea eax, [rbx + 1]
mov word [rbp + rbx*2 + 0x5b0], r14w
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov word [rbp + rax*2 + 0x5b0], r14w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140044abb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140044abb
mov r8d, 0x34
jmp 0x140044b83
lea rdx, [rbp + 0x3a0]
mov rcx, rdi
call fcn.140045240
mov rdx, rax
lea rcx, [rbp + 0x5b0]
mov ebx, dword [rax + 0x200]
lea r8d, [rbx + rbx]
call fcn.140057f80
lea eax, [rbx + 1]
mov word [rbp + rbx*2 + 0x5b0], r14w
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov word [rbp + rax*2 + 0x5b0], r14w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140044b20
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140044b20
mov r8d, 0x3b
jmp 0x140044b83
lea rdx, [rbp + 0x3a0]
mov rcx, rdi
call fcn.140044d60
mov rdx, rax
lea rcx, [rbp + 0x5b0]
mov ebx, dword [rax + 0x200]
lea r8d, [rbx + rbx]
call fcn.140057f80
lea eax, [rbx + 1]
mov word [rbp + rbx*2 + 0x5b0], r14w
xor edx, edx
lea rcx, [rbp + 0x5b0]
mov word [rbp + rax*2 + 0x5b0], r14w
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140044b9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140044b9d
mov r8d, 0x43
lea rdx, str.yolox::AppFiles::Initialize
lea rcx, str.FAIL:__s:_u
call fcn.140043540
xor al, al
jmp 0x140044d3a
lea rdx, [rbp + 0x3a0]
mov qword [rsp + 0x16f0], rsi
mov rcx, rdi
call fcn.140045240
lea rdx, [rsp + 0x50]
mov ecx, dword [rax + 0x200]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
movzx eax, byte [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x38]
mov byte [rsp + 0x28], al
lea rax, [0x1400424e0]
movups xmm0, xmmword [rsp + 0x28]
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
call fcn.140042090
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp - 0x80]
mov r8d, dword [rdi + 0x18]
mov dword [rbp + 0x180], r8d
lea r9, [rcx + r8*2]
cmp rcx, r9
je 0x140044c4a
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp rcx, r9
jne 0x140044c30
mov r8d, dword [rbp + 0x180]
test r8d, r8d
je 0x140044c75
mov eax, r8d
cmp word [rsp + rax*2 + 0x7e], 0x5c
je 0x140044c75
inc r8d
mov ecx, 0x5c
mov dword [rbp + 0x180], r8d
mov word [rbp + rax*2 - 0x80], cx
mov r8d, dword [rbp + 0x180]
lea eax, [r8 + 0xc]
mov dword [rbp + 0x180], eax
lea rcx, str.License.json
mov eax, r8d
lea rdx, [rbp - 0x80]
add rax, rax
lea r8, [0x14007b5d8]
sub rax, rcx
add rdx, rax
nop dword [rax]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
add rcx, 2
cmp rcx, r8
jne 0x140044ca0
mov ebx, dword [rbp + 0x180]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jbe 0x140044cd4
mov rcx, qword [rdi + 0x20]
mov edx, ebx
add rdx, rdx
call fcn.14005aec8
mov qword [rdi + 0x20], rax
mov ecx, ebx
mov dword [rdi + 0x2c], ebx
mov rdx, qword [rdi + 0x20]
lea r8, [rbp - 0x80]
lea r8, [r8 + rbx*2]
mov dword [rdi + 0x28], ebx
lea rax, [rbp - 0x80]
cmp rax, r8
je 0x140044d09
lea rcx, [rbp - 0x80]
movzx eax, word [rcx]
add rcx, 2
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp rcx, r8
jne 0x140044cf0
mov ebx, dword [rdi + 0x28]
mov ecx, dword [rdi + 0x2c]
lea esi, [rbx + 1]
cmp esi, ecx
jbe 0x140044d25
mov rcx, qword [rdi + 0x20]
mov edx, esi
add rdx, rdx
call fcn.14005aec8
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x2c], esi
mov rax, qword [rdi + 0x20]
mov rsi, qword [rsp + 0x16f0]
mov ecx, ebx
mov word [rax + rcx*2], r14w
mov al, 1
mov rbx, qword [rsp + 0x16e8]
mov rcx, qword [rbp + 0x15b0]
xor rcx, rsp
call fcn.140056280
add rsp, 0x16c0
pop r14
pop rdi
pop rbp
ret