Function at 0x14000a328
Capabilities:
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x310
mov rax, qword [0x1400163a8]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x88], rsp
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll_memset
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_memset
xor edi, edi
mov qword [rsp + 0x78], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x68], 0xa
mov dword [rsp + 0x64], 1
mov qword [rsp + 0x70], rdi
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x70]
call fcn.14000a094
mov ebx, eax
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14000a5cb
cmp dword [rsp + 0x64], edi
jne 0x14000a3d5
mov ebx, 1
jmp 0x14000a5c7
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000a3f8
mov rax, qword [rcx]
cmp rax, qword [0x140011430]
jne 0x14000a3f8
mov rax, qword [rcx + 8]
cmp rax, qword [0x140011438]
je 0x14000a3cb
mov r8d, 0x28
lea rdx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14000a475
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x6c], ecx
lea rdx, [0x14000a46c]
mov rcx, qword [rsp + 0x88]
call sub.msvcrt.dll__local_unwind
nop
nop
nop
mov eax, dword [rsp + 0x6c]
jmp 0x14000a5d4
cmp eax, ebx
jbe 0x14000a4a5
mov dword [rsp + 0x80], 0x8007006f
lea rdx, [0x14000a49b]
mov rcx, qword [rsp + 0x88]
call sub.msvcrt.dll__local_unwind
nop
nop
nop
mov eax, 0x8007006f
jmp 0x14000a5d4
mov r8d, dword [rsp + 0x68]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa0]
call fcn.140009ca4
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
nop dword [rax + rax]
mov word [0x1400187f8], di
movzx eax, word [rsp + 0x9c]
movzx ecx, word [rsp + 0x9a]
movzx r8d, word [rsp + 0x98]
movzx r9d, word [rsp + 0x96]
movzx r10d, word [rsp + 0x92]
movzx r11d, word [rsp + 0x90]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf0]
lea r8, str._s_s__04d__02d__02d__02d__02d__02d.dmp
mov rdx, rbx
lea rcx, [0x1400185f0]
call fcn.140001b70
mov ebx, eax
mov dword [rsp + 0x60], eax
test eax, eax
js 0x14000a5cb
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov r8d, eax
lea r9, [0x1400185f0]
lea rdx, str.RunDll32_comsvcs.dll_MiniDump
lea rcx, str._s__d__s_full
call fcn.140009f0c
mov ebx, eax
mov dword [rsp + 0x60], eax
test eax, eax
js 0x14000a5cb
xor edx, edx
lea rcx, [0x1400185f0]
call qword [sym.imp.msvcrt.dll__waccess]
nop dword [rax + rax]
mov ecx, 0x80004005
test eax, eax
cmovne ebx, ecx
mov dword [rsp + 0x60], ebx
jmp 0x14000a5d2
mov eax, ebx
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14000d750
mov rbx, qword [rsp + 0x320]
add rsp, 0x310
pop rdi
ret