Function at 0x140089bd0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1401c0040]
xor rax, rsp
mov qword [rbp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
lea rax, [rbp + 0x218]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp + 0x168], rcx
mov qword [rbp + 0x170], rax
mov rdi, qword [rax]
xor rdi, rcx
mov qword [rbp + 0x160], rdi
xor r12d, r12d
mov qword [rax], r12
lea rdx, [0x1402c1a90]
lea ecx, [r12 + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140089c8c
lea ecx, [r12 + 3]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [0x1402c196c], r12
mov qword [0x1402c1978], 1
mov qword [0x1402c1994], r12
mov r13d, 1
mov dword [0x1402c1988], r13d
mov r9, qword [0x1402c1a20]
mov qword [0x1402c1980], r9
mov dword [0x1402c1974], r12d
mov dword [0x1402c1968], 0x15
mov eax, dword [0x1402c212c]
mov dword [0x1402c1960], eax
mov eax, dword [0x1402c2138]
mov dword [0x1402c1964], eax
mov dword [0x1402c198c], r13d
mov dword [0x1402c1990], 0x50
mov eax, 0x80000000
cmp byte [0x1402c1cf8], 0
cmovne eax, r13d
mov dword [0x1402c199c], eax
mov rcx, qword [0x1402c1a90]
mov rax, qword [rcx]
lea rdx, [0x1402c18e8]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r12
lea rdx, [0x1402c1960]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r8d, r13d
xor edx, edx
call qword [rax + 0xa0]
test eax, eax
jns 0x140089d66
mov rcx, qword [0x1402c1a90]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [r13 + 3]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x1402c18d0]
test rbx, rbx
je 0x140089d78
inc dword [rbx + 0xf0]
mov ecx, 0x5ed8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x150], rax
lea rcx, [rbp - 0x80]
mov qword [rbp + 0x158], rcx
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140089daa
xor edx, edx
mov rcx, rax
call fcn.140011e40
jmp 0x140089dad
mov rax, r12
mov qword [0x1402c18d0], rax
call fcn.140016250
test rbx, rbx
je 0x140089dc5
mov qword [0x1402c18d0], rbx
mov rcx, qword [0x1402c1a20]
call fcn.140040030
mov rsi, qword [0x1402c18e8]
mov rbx, qword [0x1402c18d0]
test rbx, rbx
je 0x140089dea
inc dword [rbx + 0xf0]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140089e19
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140089e1c
mov rax, r12
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rbx, qword [0x1402c18d0]
mov qword [rbx + 0x20], r12
xor ecx, ecx
call fcn.140034d90
or dword [rbx + 8], 3
xorps xmm12, xmm12
xor eax, eax
movups xmmword [rbp + 0xc0], xmm12
movups xmmword [rbp + 0xd0], xmm12
movups xmmword [rbp + 0xe0], xmm12
movups xmmword [rbp + 0x100], xmm12
movups xmmword [rbp + 0x110], xmm12
mov qword [rbp + 0x140], rax
mov byte [rbp + 0xcc], 1
mov dword [rbp + 0xd8], 2
mov dword [rbp + 0xdc], r13d
mov dword [rbp + 0x104], 0x7f7fffff
mov dword [rbp + 0x110], 0x3f800000
mov r15d, 0xffff
mov word [rbp + 0x114], r15w
xorps xmm2, xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], r15w
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x14028f180]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0xe25c
mov dword [rbp + 0x44], 0x41700000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
mov byte [rbp + 0x108], 1
mov byte [rbp + 0xe0], 1
movaps xmm11, xmmword [rbp + 0xc0]
movaps xmmword [rbp - 0x70], xmm11
movaps xmm10, xmmword [rbp + 0xd0]
movaps xmmword [rbp - 0x60], xmm10
movaps xmm9, xmmword [rbp + 0xe0]
movaps xmmword [rbp - 0x50], xmm9
movaps xmmword [rbp - 0x40], xmm12
movaps xmm8, xmmword [rbp + 0x100]
movaps xmmword [rbp - 0x30], xmm8
movaps xmm7, xmmword [rbp + 0x110]
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm12
movaps xmmword [rbp], xmm12
movsd xmm6, qword [rbp + 0x140]
movsd qword [rbp + 0x10], xmm6
lea r14, [0x1401c00d0]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0xba660
mov dword [rbp - 0x5c], 0x41500000
lea rsi, [0x14019f5c8]
mov qword [rbp - 0x38], rsi
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
movaps xmmword [rbp - 0x70], xmm11
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp - 0x50], xmm9
movaps xmmword [rbp - 0x40], xmm12
movaps xmmword [rbp - 0x30], xmm8
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm12
movaps xmmword [rbp], xmm12
movsd qword [rbp + 0x10], xmm6
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0xba660
mov dword [rbp - 0x5c], 0x41500000
mov qword [rbp - 0x38], rsi
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], r15w
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x14027a740]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0xe43c
mov dword [rbp + 0x44], 0x41600000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], r15w
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x14029d3f0]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0xd76c
mov dword [rbp + 0x44], 0x41880000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
movaps xmmword [rbp - 0x70], xmm11
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp - 0x50], xmm9
movaps xmmword [rbp - 0x40], xmm12
movaps xmmword [rbp - 0x30], xmm8
movaps xmmword [rbp - 0x20], xmm7
movaps xmmword [rbp - 0x10], xmm12
movaps xmmword [rbp], xmm12
movsd qword [rbp + 0x10], xmm6
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 0xba660
mov dword [rbp - 0x5c], 0x41980000
mov qword [rbp - 0x38], rsi
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], r15w
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x70], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x80], xmm1
movaps xmmword [rbp + 0x90], xmm2
movaps xmmword [rbp + 0xa0], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0xb0], xmm0
lea rax, [0x1402aac20]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], 0x21fc
mov dword [rbp + 0x44], 0x41b80000
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
lea rax, [0x1402c1a40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x2d0
mov r9d, 0x500
mov r8d, 0x65a8
lea rdx, [0x140288ba0]
mov rcx, qword [0x1402c18e8]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm2
movups xmmword [rbp - 0x30], xmm2
movups xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x10], rax
mov byte [rbp - 0x64], 1
mov dword [rbp - 0x58], 2
mov dword [rbp - 0x54], r13d
mov dword [rbp - 0x2c], 0x7f7fffff
mov dword [rbp - 0x20], 0x3f800000
mov word [rbp - 0x1c], r15w
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmmword [rbp + 0xe0], xmm2
movaps xmmword [rbp + 0xf0], xmm2
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x110], xmm1
movaps xmmword [rbp + 0x120], xmm2
movaps xmmword [rbp + 0x130], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp + 0x140], xmm0
lea rax, str.OTTO
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], 0x12be0
mov dword [rbp + 0xd4], 0x41880000
lea rax, [0x14019c660]
mov qword [rbp + 0xf8], rax
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbx + 0x38]
call fcn.14003a510
mov qword [0x1402c1a28], rax
mov rcx, qword [0x1402c1a90]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movabs rax, 0xff00ff00ff00ff00
xor rdi, rax
lea rax, [rbp + 0x218]
mov qword [rax], rdi
xor eax, eax
mov rcx, qword [rbp + 0x178]
xor rcx, rsp
call fcn.14014fd50
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret