Function at 0x140001a10
Capabilities:
Check if file exists
Create process on windows
Create thread
Get file attributes
Inject dll
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ebx, ebx
mov rcx, qword [str.NieR_Replicant_Hardcore.dll]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001a79
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
lea rdx, str.Error_when_launching_process._Error_message:_dll_not_found
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140002b9a
lea rax, [0x1400061c8]
mov qword [rsp + 0x48], rax
lea rax, [0x140006160]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
movdqa xmm7, xmmword [0x140004980]
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], bl
test eax, eax
jne 0x140001d17
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x140001b4a
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001b23
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b7c
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140001b88
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
lea r10, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova r10, qword [rbp - 0x51]
add r10, qword [rbp - 0x41]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movdqa xmm6, xmmword [0x140004970]
cmp rdx, r10
jne 0x140001bcf
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
jmp 0x140001be2
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0xf]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x2c
lea rdx, str.Error_when_launching_process._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140001390
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140001c80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140001ccd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140002b5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002470
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x1d4c
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.NieR_Replicant_ver.1.22474487139...
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140001d54
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
lea rdx, str.Error_when_opening_window_handle._Error_message:_Handle_is_null.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140002b5a
lea rdx, [rbp - 0x55]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp - 0x55]
test r8d, r8d
jne 0x140001fae
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x140001de1
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001dba
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001db5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e13
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140001e1f
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
lea r10, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova r10, qword [rbp - 0x51]
add r10, qword [rbp - 0x41]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movdqa xmm6, xmmword [0x140004970]
cmp rdx, r10
jne 0x140001e66
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
jmp 0x140001e79
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0xf]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x3b
lea rdx, str.Error_when_getting_window_thread_process_id._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140001390
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140001f17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140001f64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140002b5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002470
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14000220a
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x14000203a
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140002013
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000200e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000206c
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140002078
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002073
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002073
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x41]
add r10, rdx
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movdqa xmm6, xmmword [0x140004970]
cmp rdx, r10
jne 0x1400020c2
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
jmp 0x1400020d5
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0xf]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x29
lea rdx, str.Error_when_opening_handle._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140001390
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140002173
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000216e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000216e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x1400021c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140002b5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002470
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
jne 0x14000247a
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x1400022a8
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140002281
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000227c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400022da
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400022e6
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x41]
add r10, rdx
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movdqa xmm6, xmmword [0x140004970]
cmp rdx, r10
jne 0x140002330
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
jmp 0x140002343
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0xf]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x3f
lea rdx, str.Error_when_allocating_memory_in_target_process._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140001390
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x1400023e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14000242e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002428
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140002b5a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002470
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002470
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
jmp 0x140002b5a
mov r8, qword [str.NieR_Replicant_Hardcore.dll]
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp byte [r8 + r9], 0
jne 0x140002490
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movdqa xmm6, xmmword [0x140004970]
test eax, eax
jne 0x140002666
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x140002535
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x14000250e
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002509
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002509
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp - 0x31]
call fcn.1400016a0
lea r10, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova r10, qword [rbp - 0x51]
add r10, qword [rbp - 0x41]
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
cmp rdx, r10
jne 0x14000257d
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
jmp 0x140002590
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp - 0x11]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x42
lea rdx, str.Error_when_overwriting_arguments_in_target_process._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp + 0xf]
call fcn.140001390
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r8, qword [rbp + 0x27]
cmp r8, 7
jbe 0x140002602
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400018f0
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14000264f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002649
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002649
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
mov r8, qword [rbp + 7]
cmp r8, 7
jbe 0x140002666
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.1400018f0
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140002862
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x140002714
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x1400026ed
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp - 0x31]
call fcn.1400016a0
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x41]
add r10, rdx
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
cmp rdx, r10
jne 0x14000275f
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
jmp 0x140002772
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp - 0x11]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x3a
lea rdx, str.Error_when_loading_dll_into_target_process._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp + 0xf]
call fcn.140001390
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp + 0x27]
cmp rdx, 7
jbe 0x140002810
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000280b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000280b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14000285d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002857
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002857
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
nop
jmp 0x140002b3c
lea rdx, str.LoadLibraryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140002a06
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdi, rax
lea rax, [rbp - 0x51]
cmp rax, rdi
je 0x1400028f5
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x1400028ce
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
movdqu xmmword [rbp - 0x41], xmm7
mov byte [rbp - 0x51], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x51], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x41], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp - 0x31]
call fcn.1400016a0
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x41]
add r10, rdx
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
cmp rdx, r10
jne 0x140002940
movdqu xmmword [rbp + 0x1f], xmm6
mov word [rbp + 0xf], bx
jmp 0x140002953
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp + 0xf]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x3a
lea rdx, str.Error_when_finding_address_of_LoadLibraryW._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp + 0xf]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140001390
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r8, qword [rbp + 7]
cmp r8, 7
jbe 0x1400029c5
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.1400018f0
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
mov r8, qword [rbp - 0x19]
cmp r8, 7
jbe 0x1400029e6
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.1400018f0
nop
mov r8, qword [rbp + 0x27]
cmp r8, 7
jbe 0x140002b5a
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400018f0
jmp 0x140002b5a
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140002b55
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x31]
call fcn.140001810
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001730
lea rcx, [rbp - 0x31]
call fcn.1400016a0
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
mov r10, qword [rbp - 0x41]
add r10, rdx
lea rdx, [rbp - 0x51]
cmp qword [rbp - 0x39], 0xf
cmova rdx, qword [rbp - 0x51]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
cmp rdx, r10
jne 0x140002aac
movdqu xmmword [rbp - 1], xmm6
mov word [rbp - 0x11], bx
jmp 0x140002abf
mov r9, r10
sub r9, rdx
mov r8, r10
lea rcx, [rbp - 0x11]
call fcn.140001240
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, 0x31
lea rdx, str.Error_when_creating_remote_thread._Error_message:
lea rcx, [rbp - 0x31]
call fcn.140001110
nop
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x31]
movzx edx, byte [rbp - 0x59]
lea rcx, [rbp + 0xf]
call fcn.140001390
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova rdx, qword [rbp + 0xf]
xor r9d, r9d
lea r8, str.nnr_hardcore_launcher.exe_Windows_Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp + 0xf]
call fcn.140001960
nop
mov r8, qword [rbp - 0x19]
cmp r8, 7
jbe 0x140002b3c
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.1400018f0
nop
mov r8, qword [rbp + 7]
cmp r8, 7
jbe 0x140002b5a
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.1400018f0
jmp 0x140002b5a
mov ebx, 1
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140002b98
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c10
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002d30
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret