Function at 0x1400099e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x14006a010]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
mov ebx, 0xd
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x50]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x50]
mov rcx, rbx
and edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._nHDM_APEX_v1.31_GameVersion:3.0.51.45_n
call fcn.14000a990
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n..._n
call fcn.14000a990
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400581d8]
call fcn.14000a990
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rax, [0x14000a180]
mov dword [rsp + 0x64], 0x40
mov ebx, 0x50
mov qword [rsp + 0x68], rax
xor edi, edi
mov dword [rsp + 0x60], ebx
xor ecx, ecx
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
lea ecx, [rbx - 0x3e]
xorps xmm1, xmm1
mov qword [rsp + 0x78], rax
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
call fcn.1400536d4
lea rcx, [rsp + 0x60]
mov dword [rax], 0x440048
mov dword [rax + 4], 0x2d004d
mov dword [rax + 8], 0x500041
mov dword [rax + 0xc], 0x580045
mov word [rax + 0x10], di
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [0x1400759d0]
mov ecx, 0x12
movss xmm0, dword [rax + 0xc]
addss xmm0, dword [0x140060b18]
cvttss2si edi, xmm0
movss xmm0, dword [rax + 8]
addss xmm0, dword [0x140060b18]
cvttss2si ebx, xmm0
call fcn.1400536d4
xor r13d, r13d
mov r8, rax
mov qword [rsp + 0x58], r13
mov dword [rax], 0x440048
mov dword [rax + 4], 0x2d004d
mov dword [rax + 8], 0x500041
mov dword [rax + 0xc], 0x580045
mov word [rax + 0x10], r13w
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov rdx, qword [rbp - 0x60]
mov r9d, 0x80000000
mov qword [rsp + 0x40], r13
xor ecx, ecx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov r12, rax
call fcn.140009470
test al, al
jne 0x140009c08
call fcn.140009620
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [r13 + 1]
jmp 0x14000a140
movdqa xmm0, xmmword [0x140060ba0]
lea rdx, [rbp + 0x20]
mov rcx, r12
movdqu xmmword [rbp + 0x20], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
lea rdx, [rbp + 0x30]
mov rcx, r12
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, 1
mov ebx, eax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x1400759d0]
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
cvttss2si edx, dword [rcx + 0xc]
sub eax, edx
cdq
sub eax, edx
cvttss2si edx, dword [rcx + 8]
sar eax, 1
mov rcx, r12
mov r9d, eax
sub ebx, edx
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r14d, 0xa
mov rcx, r12
mov edx, r14d
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r12
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, r12
call fcn.140009750
xor dil, dil
call fcn.140011f90
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [rsi + 0x5b]
lea rcx, [rbp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
xor ecx, ecx
xorps xmm0, xmm0
mov r8, 0xffffffffffffffff
mov word [rax + 2], cx
lea rax, [rbp + 0x60]
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
nop dword [rax]
inc r8
cmp word [rax + r8*2], cx
jne 0x140009d10
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.14000ad70
mov rcx, qword [rbp - 0x18]
mov r15, qword [rbp - 0x20]
mov rax, rcx
sub rax, r15
cmp rax, r14
jb 0x140009d6d
cmp rcx, 8
lea rax, [r15 + 0xa]
lea rbx, [rbp - 0x30]
mov qword [rbp - 0x20], rax
cmovae rbx, qword [rbp - 0x30]
lea rdx, [0x140056cc0]
mov r8d, 0x14
lea rcx, [rbx + r15*2]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + r15*2 + 0x14], r13w
jmp 0x140009d85
lea r9, [0x140056cc0]
mov qword [rsp + 0x20], r14
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.14000aba0
cmp qword [rbp - 0x18], 8
lea rdx, [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x40]
cmovae rdx, qword [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
call fcn.14000ad70
cmp qword [rbp + 0x58], 8
lea rcx, [rbp + 0x40]
mov r9d, 0xffffffff
lea rdx, [rbp - 0x10]
cmovae rcx, qword [rbp + 0x40]
mov r8d, 3
call fcn.140053044
mov r8d, eax
test eax, eax
jne 0x140009e08
mov edx, dword [rbp]
mov ecx, edx
shr ecx, 0xa
test sil, cl
je 0x140009dfd
mov eax, dword [rbp + 4]
cmp eax, 0xa000000c
jne 0x140009df6
lea r14d, [r8 + 4]
jmp 0x140009e27
cmp eax, 0xa0000003
je 0x140009e27
shr edx, 4
and edx, esi
lea r14d, [rdx + 2]
jmp 0x140009e27
sub eax, 2
je 0x140009e1f
sub eax, esi
je 0x140009e1f
sub eax, 0x32
je 0x140009e1f
cmp eax, 0x46
je 0x140009e1f
xor al, al
jmp 0x140009e23
movzx eax, sil
movzx r14d, al
mov dword [rbp - 0x40], r8d
lea rax, [0x140074328]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
test r14d, r14d
je 0x140009e88
cmp r14d, esi
sete bl
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140009e9c
mov rcx, qword [rbp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e97
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009e97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx ebx, sil
test r8d, r8d
jne 0x14000a170
jmp 0x140009e4a
call fcn.1400536cc
test bl, bl
je 0x140009ec0
xor r9d, r9d
lea r8, [0x140058200]
lea rdx, [0x140058210]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rcx, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140009f22
nop word [rax + rax]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 8], 0x12
lea rcx, [rbp - 0x10]
movzx edi, dil
cmove edi, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140009ee0
test dil, dil
jne 0x14000a08f
mov r8d, dword [0x140075508]
test r8d, r8d
je 0x140009fcf
mov r9d, dword [0x14007550c]
test r9d, r9d
je 0x140009fcf
mov rcx, qword [0x140075510]
test rcx, rcx
je 0x140009f69
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8d, dword [0x140075508]
mov r9d, dword [0x14007550c]
mov qword [0x140075510], r13
mov rcx, qword [0x140075518]
xor edx, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [0x140075518]
lea r9, [rbp - 0x40]
lea r8, [0x14005e3d0]
mov dword [0x14007550c], r13d
xor edx, edx
mov dword [0x140075508], r13d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x140075520]
lea r9, [0x140075510]
mov rdx, qword [rbp - 0x40]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400754c0]
test rax, rax
je 0x140009fe4
mov rcx, qword [rax + 0x98]
jmp 0x140009fe7
mov rcx, r13
cmp qword [rcx + 0x48], r13
jne 0x140009ff2
call fcn.1400506e0
call fcn.140051990
call fcn.14001ea00
mov rcx, qword [0x1400759d0]
call fcn.140012100
movzx edi, al
call fcn.140020ad0
mov rcx, qword [0x140075530]
lea r8, [0x140075510]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp + 0x40], xmm0
mov edx, esi
mov r10, qword [rcx]
call qword [r10 + 0x108]
mov rcx, qword [0x140075530]
lea r8, [rbp + 0x40]
mov rdx, qword [0x140075510]
mov r9, qword [rcx]
call qword [r9 + 0x190]
mov rax, qword [0x1400754c0]
mov rcx, qword [rax + 0x48d0]
mov rax, qword [rcx]
mov rcx, r13
add rax, 0x48
cmp byte [rax], r13b
cmovne rcx, rax
call fcn.14004fc70
mov rcx, qword [0x140075518]
xor r8d, r8d
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x40]
test dil, dil
je 0x140009ec0
cmp byte [0x140074d89], r13b
jne 0x14000a0a1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140050eb0
call fcn.140051140
mov rbx, qword [0x1400754c0]
mov qword [0x1400754c0], rbx
call fcn.14001c880
mov qword [0x1400754c0], r13
test rbx, rbx
je 0x14000a0ed
mov rcx, rbx
call fcn.140031fa0
mov rax, qword [0x1400754c0]
test rax, rax
je 0x14000a0e4
dec dword [rax + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140009620
mov rcx, r12
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000a13e
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a139
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a139
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400536cc
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140053420
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x40]
call fcn.140002450
int3