Function at 0x1800949e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x180194480]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r12, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x150], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rsi
mov ecx, 0x10
call fcn.18009ef20
mov qword [rax + 8], rsi
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x150]
mov qword [rax], rcx
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], si
mov qword [rsp + 0x198], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1b0], xmm1
mov ecx, 0x10
call fcn.18009ef20
mov qword [rax + 8], rsi
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x198]
mov qword [rax], rcx
movdqa xmm0, xmmword [0x180108b80]
movdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1a0], si
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
lea r14, [r12 + 0x10]
mov r13, qword [r12 + 8]
add r13, r14
mov r8d, 0x1c
lea rdx, str.restore_original_entry_point
lea rcx, [rsp + 0x150]
call fcn.180015f80
mov rbx, qword [r12 + 8]
mov rdi, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9, rbx
mov r8, r14
mov rdx, rdi
mov rcx, rax
call fcn.1800932c0
mov rbx, qword [r12 + 8]
mov rdi, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r15, rax
mov qword [rsp + 0x60], rax
mov r8d, 0x22
lea rdx, str.hMainThreadContinue__CreateEventW
lea rcx, [rsp + 0x150]
call fcn.180015f80
test r15, r15
je 0x1800952af
mov r8d, 0xe
lea rdx, str.InitializeImpl
lea rcx, [rsp + 0x150]
call fcn.180015f80
mov rdx, r15
mov rcx, r13
call fcn.180084ae0
mov dword [rsp + 0x44], eax
jmp 0x180094bc3
test eax, eax
jns 0x1800950ac
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
lea rcx, vtable._com_error.0
mov qword [rsp + 0x178], rcx
mov dword [rsp + 0x180], eax
movdqu xmmword [rsp + 0x188], xmm0
mov ecx, 0x18
call fcn.18009ef20
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180094c28
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rsi
mov dword [rdi + 0x10], 1
mov qword [rdi], rsi
jmp 0x180094c2b
mov rdi, rsi
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x1800952d8
or dword [rsp + 0x40], 2
mov rcx, qword [rdi]
test rcx, rcx
je 0x180094d27
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x180094d27
mov r14, 0xffffffffffffffff
lea rax, str.Failed_to_load_Dalamud._Load_game_without_Dalamud_yes__or_abort_no___n_n_n
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x4b
mov rdx, rsi
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x158]
cmp qword [rsp + 0x170], 7
cmova rcx, qword [rsp + 0x158]
mov qword [rsp + 0x90], rcx
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180094eed
test rcx, rcx
jne 0x180094eed
lea rax, str.non_zero_size_null_string_view
mov qword [rsp + 0x28], rax
lea r13, [0x18010388c]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, 0x4b9
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x180094cf8
int3
mov qword [rsp + 0x20], rsi
mov r9d, 0x4b9
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.1800aa0a0
mov rdx, qword [rsp + 0x68]
jmp 0x180094ef4
mov rbx, qword [rsp + 0x190]
test rbx, rbx
jne 0x180094e36
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, dword [rsp + 0x180]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rbx, qword [rsp + 0x190]
test rbx, rbx
je 0x180094dcc
mov r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp word [rbx + rax*2], 0
jne 0x180094d80
cmp rax, 1
jbe 0x180094e3d
lea rcx, [rbx + rax*2]
cmp word [rcx - 2], 0xa
jne 0x180094e3d
mov word [rcx - 2], si
mov rbx, qword [rsp + 0x190]
lea rcx, [rbx + rax*2]
cmp word [rcx - 4], 0xd
jne 0x180094e3d
mov word [rcx - 4], si
mov rbx, qword [rsp + 0x190]
jmp 0x180094e3d
mov edx, 0x40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
mov qword [rsp + 0x190], rax
test rax, rax
je 0x180094e36
mov r9d, dword [rsp + 0x180]
lea eax, [r9 + 0x7ffbfe00]
cmp eax, 0xfdff
ja 0x180094e1a
mov ecx, 0x200
movzx eax, r9w
sub ax, cx
je 0x180094e1a
movzx r9d, ax
lea r8, str.IDispatch_error__d
jmp 0x180094e21
lea r8, str.Unknown_error_0x_0lX
mov edx, 0x20
mov rcx, rbx
call fcn.180095300
mov rbx, qword [rsp + 0x190]
mov r14, 0xffffffffffffffff
test rbx, rbx
je 0x180094e4b
cmp qword [rdi], rbx
je 0x180094c5f
mov eax, r14d
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x180094e88
mov rcx, qword [rdi]
test rcx, rcx
je 0x180094e69
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rsi
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180094e7b
call fcn.18009ffb0
mov qword [rdi + 8], rsi
mov edx, 0x18
mov rcx, rdi
call fcn.18009ef80
mov qword [rsp + 0x48], rsi
mov ecx, 0x18
call fcn.18009ef20
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180094ed7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rsi
mov dword [rdi + 0x10], 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x180094eda
test rbx, rbx
jne 0x1800952e3
jmp 0x180094eda
mov rdi, rsi
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x1800952ee
jmp 0x180094c5f
lea r13, [0x18010388c]
movabs r8, 0xfffffffffffffff
and rdx, r8
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + rdx + 0x78], xmm0
mov rax, qword [rsp + 0x68]
and rax, r8
movabs rcx, 0xc000000000000000
or rax, rcx
mov qword [rsp + 0x68], rax
lea rcx, [rdx + 0x10]
and rcx, r8
mov qword [rsp + 0x70], rcx
mov rax, qword [rdi]
and rcx, r8
mov qword [rsp + rcx + 0x78], rax
mov rax, qword [rsp + 0x70]
and rax, r8
movabs rcx, 0xb000000000000000
or rax, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0xa0], 2
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xe0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xf0], xmm1
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xb0]
call fcn.180036b40
or dword [rsp + 0x40], 4
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 7
cmova rdx, qword [rsp + 0xb8]
mov r9d, 4
lea r8, [0x18014b968]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, eax
lea rcx, [rsp + 0xb0]
call fcn.1800144a0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], rsi
mov edx, 0x10
call fcn.180002050
cmp ebx, 7
jne 0x18009501c
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
test r15, r15
je 0x18009502d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, rsi
test rdi, rdi
je 0x180095074
lock xadd dword [rdi + 0x10], r14d
cmp r14d, 1
jne 0x180095074
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180095054
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180095066
call fcn.18009ffb0
mov qword [rbx + 8], rsi
mov edx, 0x18
mov rcx, rbx
call fcn.18009ef80
nop
lea rax, vtable._com_error.0
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x188]
test rcx, rcx
je 0x180095096
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x190]
test rcx, rcx
je 0x1800950aa
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1800950b3
lea r13, [0x18010388c]
test r15, r15
je 0x1800950c6
mov edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
lea rcx, [rsp + 0x198]
call fcn.180013d90
mov rax, qword [rsp + 0x1b8]
cmp rax, 7
jbe 0x180095186
mov r14, qword [rsp + 0x1a0]
lea rdi, [rax + 1]
test r14, r14
jne 0x180095171
test rdi, rdi
je 0x180095171
lea rbx, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18009513e
int3
mov qword [rsp + 0x20], rsi
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
lea rdx, [rdi + rdi]
mov rcx, r14
call fcn.180002050
jmp 0x18009518d
lea rbx, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
lea rdx, [rdi + rdi]
mov rcx, r14
call fcn.180002050
jmp 0x18009518d
lea rbx, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
movdqa xmm0, xmmword [0x180108b80]
movdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1a0], si
mov rcx, qword [rsp + 0x198]
mov qword [rsp + 0x198], rsi
mov edx, 0x10
call fcn.180002050
nop
lea rcx, [rsp + 0x150]
call fcn.180013d90
mov rdi, qword [rsp + 0x170]
cmp rdi, 7
jbe 0x18009524c
mov r14, qword [rsp + 0x158]
inc rdi
test r14, r14
jne 0x180095240
test rdi, rdi
je 0x180095240
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, 0x3b4
lea rdx, [0x180103890]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18009521b
int3
mov qword [rsp + 0x20], rsi
mov r9d, 0x3b4
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexmemory
lea rdx, [0x1801039c8]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1800aa0a0
lea rdx, [rdi + rdi]
mov rcx, r14
call fcn.180002050
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], 7
mov word [rsp + 0x158], si
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x150], rsi
mov edx, 0x10
call fcn.180002050
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18009f1a0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x18014ba18]
lea rcx, [rsp + 0x128]
call fcn.18000fd80
lea rdx, [0x1801923c8]
lea rcx, [rsp + 0x128]
call fcn.1800a1670
nop
mov ecx, 0x8007000e
call fcn.1800a0e60
nop
mov ecx, 0x8007000e
call fcn.1800a0e60
nop
mov ecx, 0x8007000e
call fcn.1800a0e60
int3