Function at 0x14000bc50
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x4a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x4d0], rbx
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rsi, rdx
mov edi, ecx
cmp byte [0x1400ef092], 0
jne 0x14000bf04
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x280]
call fcn.140077610
lea rdx, [rsp + 0x280]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call fcn.140077610
lea r8, str.HPPDSMQ
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
cmp word [rsp + 0x70], r14w
jne 0x14000bd17
mov r8d, r14d
or rbx, 0xffffffffffffffff
jmp 0x14000bd2d
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000bd23
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140011700
nop
cmp qword [rsp + 0x60], 8
jb 0x14000bd4c
mov rcx, qword [rsp + 0x48]
jmp 0x14000bd51
lea rcx, [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14000bdb4
cmp qword [rsp + 0x60], 8
jb 0x14000bd6a
mov rdx, qword [rsp + 0x48]
jmp 0x14000bd6f
lea rdx, [rsp + 0x48]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14000bdb4
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14000bd9b
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140012760
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
jmp 0x14000bf0f
cmp qword [rsp + 0x60], 8
jb 0x14000bdc3
mov rdx, qword [rsp + 0x48]
jmp 0x14000bdc8
lea rdx, [rsp + 0x48]
lea r8, str.Pdsmq.Error.txt
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [rsp + 0x70], 0
jne 0x14000bde7
mov r8, r14
jmp 0x14000bdfb
lea rax, [rsp + 0x70]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000bdf0
lea rdx, [rsp + 0x70]
lea rcx, [0x1400ef0d8]
call fcn.140011700
cmp qword [rsp + 0x60], 8
jb 0x14000be1b
mov rdx, qword [rsp + 0x48]
jmp 0x14000be20
lea rdx, [rsp + 0x48]
lea r8, str.Pdsmq.Data.txt
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [rsp + 0x70], 0
jne 0x14000be3f
mov r8, r14
jmp 0x14000be5b
lea rax, [rsp + 0x70]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000be50
lea rdx, [rsp + 0x70]
lea rcx, [0x1400ef0b8]
call fcn.140011700
cmp qword [rsp + 0x60], 8
jb 0x14000be7b
mov rdx, qword [rsp + 0x48]
jmp 0x14000be80
lea rdx, [rsp + 0x48]
lea r8, str.Pdsmq.Log.txt
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [rsp + 0x70], 0
jne 0x14000be9f
mov rbx, r14
jmp 0x14000beae
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000bea4
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [0x1400ef098]
call fcn.140011700
mov byte [0x1400ef092], 1
call fcn.14000c0d0
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14000beec
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140012760
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
jmp 0x14000bf04
mov rdx, rsi
mov ecx, edi
call fcn.14000d640
nop
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140056080
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4a0
pop r14
pop rdi
pop rsi
ret