Function at 0x1400014d0
Capabilities:
Create process on windows
Create process suspended
Query environment variable
Resume thread
Set current directory
Set environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb30
cmp ecx, 3
je 0x140001500
lea rcx, str.Usage:_harmonic_dumper.exe__game_path___out_dump_path__n
call fcn.140001450
xor eax, eax
add rsp, 0xb30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdi, qword [rdx + 0x10]
mov rcx, qword [rdx + 8]
xor r9d, r9d
lea rbx, [rsp + 0xe0]
lea rbp, [rsp + 0x2f0]
mov rsi, qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov r8, rbx
mov edx, 0x104
call rsi
xor r9d, r9d
mov r8, rbp
mov edx, 0x104
mov rcx, rdi
lea rdi, [rsp + 0x500]
lea r12, [rsp + 0x710]
call rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rdi
mov edx, 0x5c
call sub.msvcrt.dll_wcsrchr
xor edx, edx
mov rcx, rdi
mov word [rax], dx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor r9d, r9d
mov r8, r12
mov edx, 0x104
lea rcx, str.game_payload.dll
call rsi
lea rsi, [rsp + 0x920]
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
mov edx, 0x5c
mov rcx, rsi
call sub.msvcrt.dll_wcsrchr
xor ecx, ecx
mov rdi, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rbp
mov word [rax], cx
lea rcx, str.HARMONIC_DUMP_FILE
call rdi
lea rdx, str.dumper
lea rcx, str.HARMONIC_MODE
call rdi
xor eax, eax
lea rdi, [rsp + 0x78]
mov ecx, 0xc
lea rdx, [rsp + 0x70]
pxor xmm0, xmm0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x74], 0
mov qword [rsp + 0xd0], 0
rep stosq qword [rdi], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rdx
mov rcx, rbx
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400016f2
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, qword [0x14000aa20]
mov rdx, qword [str.VWATAUAV]
call 0x140001730
lea rcx, str.WAIT_BEFORE_RESUME
call sub.msvcrt.dll_getenv
test rax, rax
je 0x14000169f
cmp byte [rax], 0
jne 0x1400016d0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.Started_dumper_n
call fcn.140001450
xor eax, eax
add rsp, 0xb30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov edx, dword [rsp + 0x60]
lea rcx, str.PID:__ld._Press_any_button_to_continue_n
call fcn.140001450
xor ecx, ecx
call qword [fcn.140007d40]
mov rcx, rax
call sub.msvcrt.dll_fgetc
jmp 0x14000169f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call qword [fcn.140007d40]
mov r8d, ebx
lea rdx, str.Could_not_start_process____ld__n
mov rcx, rax
call fcn.1400014a0
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x528
mov r14, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor ebx, ebx
xor edi, edi
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov eax, dword [rsp + 0x590]
mov qword [rsp + 0x578], rdx
mov rsi, rcx
mov r15, r8
lea r13, [rsp + 0x120]
mov qword [rsp + 0x588], r9
lea r12, [rsp + 0xa0]
mov dword [rsp + 0x5c], eax
jmp 0x1400017e8
mov r9d, 0x400
mov r8, r13
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], 0
call r14
cmp word [rsp + 0x120], 0x5a4d
jne 0x1400017e0
movsxd rdi, dword [rsp + 0x15c]
add rdi, r13
cmp dword [rdi], 0x4550
jne 0x1400017e0
test byte [rdi + 0x17], 0x20
jne 0x1400017e0
mov eax, dword [rdi + 0x28]
test eax, eax
jne 0x1400017fe
nop word [rax + rax]
add rbx, qword [rsp + 0xb8]
mov r9d, 0x30
mov r8, r12
mov rdx, rbx
mov rcx, rsi
call rbp
test rax, rax
jne 0x140001790
mov rcx, qword [rsp + 0x588]
mov rbx, qword [rsp + 0xa0]
call sub.msvcrt.dll_wcslen
mov r9d, 0x3000
xor edx, edx
mov rcx, rsi
lea r12, [rax + rax + 2]
mov dword [rsp + 0x20], 0x40
lea rax, [r12 + r15]
lea r8, [rax + 0x4b]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8, qword [rsp + 0x578]
mov r9, r15
mov rcx, rsi
mov rbp, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
call rbp
mov rax, qword [rsp + 0x40]
mov r9, r12
mov rcx, rsi
mov qword [rsp + 0x20], 0
mov r8, qword [rsp + 0x588]
lea rdx, [rax + r15]
call rbp
movzx edx, word [rdi + 6]
test dx, dx
je 0x140001bce
lea rdx, [rdx + rdx*4]
mov rax, rdi
xor r15d, r15d
lea rdx, [rdi + rdx*8]
nop dword [rax + rax]
test byte [rax + 0x12f], 0x20
je 0x1400018bb
mov r15d, dword [rax + 0x114]
add r15, rbx
add rax, 0x28
cmp rdx, rax
jne 0x1400018a8
mov qword [rsp + 0x50], r15
mov rdx, r15
mov qword [rsp + 0xd0], r15
mov rcx, rsi
mov r9d, 0xe
lea r8, [rsp + 0xd8]
mov qword [rsp + 0x20], 0
call r14
mov rax, qword [rsp + 0x40]
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x72], 0x25ff
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9d, 0x40
mov r8d, 0xe
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rax
call r12
mov rdx, r15
mov r9d, 0xe
mov rcx, rsi
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x72]
call rbp
mov rax, qword [rsp + 0x38]
mov rdx, r15
mov r8d, 0xe
mov r9d, dword [rsp + 0x80]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r12
mov r15d, dword [rdi + 0x28]
mov r9d, 5
mov rcx, rsi
lea r8, [rsp + 0xee]
mov qword [rsp + 0x20], 0
add r15, rbx
mov rdx, r15
mov qword [rsp + 0xe6], r15
call r14
mov rcx, qword [rsp + 0x50]
mov rdx, r15
mov dword [rsp + 0x6d], 0xe9
mov r9d, 0x40
mov r8d, 5
sub rcx, r15
mov rax, rcx
mov rcx, rsi
sub eax, 5
mov dword [rsp + 0x6e], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call r12
mov rdx, r15
mov r9d, 5
mov rcx, rsi
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x6d]
call rbp
mov rax, qword [rsp + 0x38]
mov rdx, r15
mov r8d, 5
mov r9d, dword [rsp + 0x80]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call r12
mov r15d, dword [rdi + 0x90]
mov r9d, 0x14
mov rcx, rsi
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xfb]
add r15, rbx
mov qword [rsp + 0xf3], r15
mov rdx, r15
call r14
cmp byte [rsp + 0x5c], 0
jne 0x140001ac0
add rdi, 0x94
mov r9d, 4
mov rcx, rsi
mov qword [rsp + 0x20], 0
sub rdi, r13
lea r8, [rsp + 0x117]
lea rdx, [rbx + rdi]
mov qword [rsp + 0x10f], rdx
call r14
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov r9d, 0x4b
mov rcx, rsi
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0xd0]
add rdx, rax
call rbp
nop
add rsp, 0x528
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
pxor xmm0, xmm0
lea rax, [rsp + 0x68]
mov rdx, r15
mov rcx, rsi
add rdi, 0x94
mov qword [rsp + 0x50], rax
mov r9d, 0x40
mov r8d, 0x14
movups xmmword [rsp + 0x80], xmm0
sub rdi, r13
mov dword [rsp + 0x90], 0
add rbx, rdi
mov qword [rsp + 0x20], rax
call r12
mov r8, qword [rsp + 0x38]
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], 0
mov r9d, 0x14
call rbp
mov rax, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x68]
mov rdx, r15
mov rcx, rsi
mov r8d, 0x14
mov qword [rsp + 0x20], rax
call r12
mov rdx, rbx
mov rcx, rsi
mov r9d, 4
lea r8, [rsp + 0x117]
mov qword [rsp + 0x10f], rbx
mov qword [rsp + 0x20], 0
call r14
mov rdi, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x68], 0
mov r9d, 0x40
mov r8d, 4
mov qword [rsp + 0x20], rdi
call r12
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x20], 0
mov r9d, 4
call rbp
mov qword [rsp + 0x20], rdi
mov r8d, 4
mov rdx, rbx
mov r9d, dword [rsp + 0x80]
mov rcx, rsi
call r12
jmp 0x140001a80
mov qword [rsp + 0x50], 0
xor r15d, r15d
jmp 0x1400018c9