Function at 0x140052ad0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + Ordinal_1143], rax
mov rax, qword [rsp + 0x490]
mov eax, dword [rax + 0x3f4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x490]
cmp dword [rax + 0xcc], 2
jne 0x140052b92
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x490]
mov rax, qword [rax]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x490]
call qword [rax + 0x200]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jne 0x140052b8a
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x490]
mov eax, dword [rax + reloc.mfc120u.dll_Ordinal_528]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x140052b92
mov dword [rsp + 0x24], 0
imul eax, dword [rsp + 0x24], 0x18
imul eax, eax, 0xe10
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x490]
add rax, qword [rcx + 0x208]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x490]
add rax, 0x170
mov r8, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x490]
mov rdx, qword [rcx + 0x208]
mov rcx, rax
call fcn.1400961a0
cmp dword [rsp + 0x4a0], 0
jle 0x140052e35
cmp qword [rsp + 0x4a8], 0
jle 0x140052e2e
cmp dword [rsp + 0x4a0], 2
jne 0x140052e2c
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140095b20
nop
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140096210
mov rax, qword [rsp + 0x490]
add rax, 0x3b6
mov rcx, qword [rsp + 0x490]
add rcx, 0x1788
lea r9, [0x140143588]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140096130
mov rax, qword [rsp + 0x490]
add rax, 0x230
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400300a0
nop
lea rdx, [0x140143590]
lea rcx, [rsp + 0x130]
call fcn.140030130
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x70]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x130]
call fcn.140030070
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + 0x178]
call fcn.14002eb80
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x70]
call fcn.140030470
nop
lea rcx, [rsp + 0x178]
call fcn.140030070
lea rcx, [rsp + 0x70]
call fcn.140030730
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.1400962a0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x140052dde
mov qword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140096df0
test eax, eax
je 0x140052d6d
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x4a8], rax
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140095ce0
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140096dd0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140096db0
mov rcx, qword [rsp + 0x490]
add rcx, 0x170
mov rdx, qword [rsp + 0x98]
mov r8, rdx
mov rdx, rax
call fcn.1400961a0
mov rax, qword [rsp + 0x490]
add rax, 0x170
mov rdx, qword [rsp + 0x498]
mov rcx, rax
call fcn.140096210
jmp 0x140052e14
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140095ce0
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x70]
call fcn.140030070
nop
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140095c70
mov eax, dword [rsp + 0x48]
jmp 0x1400531d5
lea rcx, [rsp + 0x70]
call fcn.140030070
nop
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_448]
call fcn.140095c70
jmp 0x140052e35
xor eax, eax
jmp 0x1400531d5
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x490]
call fcn.140052a20
mov rax, qword [rsp + 0x490]
add rax, 0x230
mov rcx, qword [rsp + 0x490]
add rcx, reloc.mfc120u.dll_Ordinal_280
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400361f0
nop
cmp dword [rsp + 0x4a0], 0
je 0x140052e90
cmp dword [rsp + 0x4a0], 2
jne 0x1400530a2
xor eax, eax
mov word [rsp + 0x260], ax
lea rax, [rsp + 0x262]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_521
rep stosb byte [rdi], al
lea rcx, [rsp + 0x260]
call fcn.140028580
test eax, eax
je 0x1400530a0
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x30]
call fcn.140030410
mov r8d, 1
mov dx, VarDateFromDisp
lea rcx, [rsp + 0xc8]
call fcn.140030260
nop
mov r8d, 1
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x30]
call fcn.140031470
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.140043cb0
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x1a8]
call fcn.140030070
nop
lea rcx, [rsp + 0xc8]
call fcn.140030070
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140052f68
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x30]
call fcn.1400304d0
lea rdx, str.Corel_
lea rcx, [rsp + 0x160]
call fcn.140030130
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x160]
call fcn.140030070
lea rcx, [rsp + 0x30]
call fcn.140030730
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.PCU_
lea rcx, [rsp + 0x148]
call fcn.140030130
nop
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x30]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x148]
call fcn.140030070
lea rcx, [rsp + 0x30]
call fcn.140030730
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, qword [rsp + 0x490]
add rax, 0x3b6
mov rdx, rax
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_280]
call fcn.140030130
nop
lea rdx, [rsp + reloc.mfc120u.dll_Ordinal_280]
lea rcx, [rsp + 0x30]
call fcn.1400305f0
nop
lea rcx, [rsp + reloc.mfc120u.dll_Ordinal_280]
call fcn.140030070
lea rdx, [0x140143654]
lea rcx, [rsp + 0xe0]
call fcn.140030130
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.1400305f0
nop
lea rcx, [rsp + 0xe0]
call fcn.140030070
lea rcx, [rsp + 0x30]
call fcn.140030730
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, qword [rsp + 0x490]
add rax, 0x230
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400305f0
jmp 0x14005310a
cmp dword [rsp + 0x4a0], 1
jne 0x14005310a
mov rax, qword [rsp + 0x490]
add rax, 0x230
mov r8, rax
mov rdx, qword [rsp + 0x498]
lea rcx, [rsp + 0x190]
call fcn.14002eb80
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.140030470
nop
lea rcx, [rsp + 0x190]
call fcn.140030070
lea rdx, [0x140143660]
lea rcx, [rsp + 0xf8]
call fcn.140030130
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x30]
call fcn.1400305f0
nop
lea rcx, [rsp + 0xf8]
call fcn.140030070
lea rcx, [rsp + 0x30]
call fcn.140030730
mov rcx, qword [rsp + 0x490]
add rcx, 0x170
mov r9d, 1
mov r8d, 1
mov rdx, rax
call fcn.1400962a0
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x490]
add rax, 0x170
mov rcx, rax
call fcn.140095ce0
lea rcx, [rsp + 0x30]
call fcn.140030730
mov rdx, rax
mov rcx, qword [rsp + 0x490]
call fcn.1400532a0
cmp dword [rsp + 0x54], 0
jne 0x1400531bf
mov dword [rsp + 0x4c], 1
lea rcx, [rsp + 0x30]
call fcn.140030070
mov eax, dword [rsp + 0x4c]
jmp 0x1400531d5
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x30]
call fcn.140030070
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x480
pop rdi
ret