Function at 0x140003010
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x208
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
lea rdx, [0x1400cd108]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140003074
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r13d, r13d
mov qword [0x1400cd17c], r13
mov qword [0x1400cd188], 1
mov qword [0x1400cd1a4], r13
mov dword [0x1400cd198], 1
mov r9, qword [0x1400cd100]
mov qword [0x1400cd190], r9
mov dword [0x1400cd184], r13d
mov dword [0x1400cd178], 0x15
mov eax, dword [0x1400cd1fc]
mov dword [0x1400cd170], eax
mov eax, dword [0x1400cd1f8]
mov dword [0x1400cd174], eax
mov dword [0x1400cd19c], 1
mov dword [0x1400cd1a0], 0x50
mov eax, dword [0x1400cc0c0]
mov dword [0x1400cd1ac], eax
mov rcx, qword [0x1400cd108]
mov rax, qword [rcx]
lea rdx, [0x1400cd1c0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r13
lea rdx, [0x1400cd170]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r8d, 1
call qword [rax + 0xa0]
test eax, eax
jns 0x14000314b
mov rcx, qword [0x1400cd108]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [0x1400cd1d8]
test rdi, rdi
je 0x14000315d
inc dword [rdi + 0xec]
mov ecx, 0x5e98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x158], rax
lea rcx, [rbp + 0x150]
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rax
test rax, rax
je 0x140003195
xor edx, edx
mov rcx, rax
call fcn.14000f160
jmp 0x140003198
mov rax, r13
mov qword [0x1400cd1d8], rax
call fcn.140012c20
test rdi, rdi
je 0x1400031b2
mov qword [0x1400cd1d8], rdi
jmp 0x1400031b9
mov rdi, qword [0x1400cd1d8]
mov qword [rdi + 0x20], r13
mov rcx, qword [0x1400cd100]
call fcn.14000e210
mov rsi, qword [0x1400cd1c0]
mov rbx, qword [0x1400cd1d8]
test rbx, rbx
je 0x1400031e2
inc dword [rbx + 0xec]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140003211
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140003214
mov rax, r13
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 r15, qword [0x1400cd1d8]
xor ecx, ecx
call fcn.14002fca0
mov dword [r15 + 0x37d8], 0x40800000
mov dword [r15 + 0x37f4], 0x40800000
mov dword [r15 + 0x380c], 0x40400000
mov dword [r15 + 0x37fc], 0x40400000
mov dword [r15 + 0x3848], 0x40400000
mov dword [r15 + 0x3850], 0x40400000
mov dword [r15 + 0x3840], 0x40400000
mov dword [r15 + 0x3860], 0x3f000000
mov dword [r15 + 0x3864], 0x3f000000
mov dword [r15 + 0x37e8], 0x3f000000
mov dword [r15 + 0x37ec], 0x3f000000
mov dword [r15 + 0x3804], 0x40c00000
mov dword [r15 + 0x3808], 0x40c00000
mov dword [r15 + 0x3814], 0x41100000
mov dword [r15 + 0x3818], 0x41100000
mov dword [r15 + 0x37d0], 0x41100000
mov dword [r15 + 0x37d4], 0x41100000
mov dword [r15 + 0x381c], 0x41000000
mov dword [r15 + 0x3820], 0x40800000
mov dword [r15 + 0x37dc], 0x3f800000
mov dword [r15 + 0x3810], 0x3f800000
mov dword [r15 + 0x383c], 0x41400000
mov dword [r15 + 0x3844], 0x41000000
mov dword [r15 + 0x38a4], r13d
movdqa xmm2, xmmword [0x1400c4c90]
movups xmmword [r15 + 0x3c00], xmm2
movdqa xmm3, xmmword [0x1400c4c00]
movups xmmword [r15 + 0x38d0], xmm3
movdqa xmm0, xmmword [0x1400c4c10]
movups xmmword [r15 + 0x38e0], xmm0
movdqa xmm1, xmmword [0x1400c4c20]
movups xmmword [r15 + 0x3980], xmm1
movdqa xmm0, xmmword [0x1400c4c30]
movups xmmword [r15 + 0x3900], xmm0
movups xmmword [r15 + 0x3a60], xmm0
movups xmmword [r15 + 0x39e0], xmm2
movdqa xmm0, xmmword [0x1400c4b30]
movups xmmword [r15 + 0x39f0], xmm0
movdqa xmm1, xmmword [0x1400c4d60]
movups xmmword [r15 + 0x39d0], xmm1
movups xmmword [r15 + 0x38b0], xmm1
movdqa xmm0, xmmword [0x1400c4ce0]
movups xmmword [r15 + 0x38c0], xmm0
movdqa xmm1, xmmword [0x1400c4c40]
movups xmmword [r15 + 0x3a30], xmm1
movdqa xmm0, xmmword [0x1400c4ca0]
movups xmmword [r15 + 0x3a40], xmm0
movdqa xmm1, xmmword [0x1400c4c70]
movups xmmword [r15 + 0x3a50], xmm1
movups xmmword [r15 + 0x3920], xmm3
movdqa xmm0, xmmword [0x1400c4b60]
movups xmmword [r15 + 0x3930], xmm0
movdqa xmm1, xmmword [0x1400c4b20]
movups xmmword [r15 + 0x3940], xmm1
movups xmmword [r15 + 0x3a00], xmm3
movups xmmword [r15 + 0x3a10], xmm1
movdqa xmm0, xmmword [0x1400c4ae0]
movups xmmword [r15 + 0x3a20], xmm0
lea rax, [0x1400c4608]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
movss xmm3, dword [0x1400c48d0]
lea rdx, [0x1400a8fd0]
mov rcx, qword [rdi + 0x38]
call fcn.140036630
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp + 0x20], xmm6
movups xmmword [rbp + 0x30], xmm6
movups xmmword [rbp + 0x50], xmm6
movups xmmword [rbp + 0x60], xmm6
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x1c], 1
mov dword [rbp + 0x28], 3
mov dword [rbp + 0x2c], 1
mov dword [rbp + 0x54], 0x7f7fffff
mov dword [rbp + 0x60], 0x3f800000
mov eax, 0xffff
mov word [rbp + 0x64], ax
mov byte [rbp + 0x58], 1
mov byte [rbp + 0x30], 1
mov r12, qword [rdi + 0x38]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x1400034eb
inc dword [rax + 0xec]
mov ecx, 0x6106c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [0x14004a270]
mov qword [0x1400cd2c8], rax
lea rsi, [r14 + 0x6106c]
mov qword [0x1400cd2d0], rsi
mov qword [0x1400cd2d8], r14
mov qword [0x1400cd2e0], r14
lea rbx, [0x14004a280]
mov rcx, rbx
call fcn.14003ad30
cmp rax, rbx
je 0x140003550
cmp qword [0x1400cd2e0], rsi
ja 0x140003550
mov rbx, rax
mov rcx, rax
call fcn.14003ad30
cmp rax, rbx
jne 0x140003537
movaps xmm7, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm7
movaps xmm9, xmmword [rbp + 0x20]
movaps xmm10, xmmword [rbp + 0x30]
movaps xmm11, xmmword [rbp + 0x50]
movaps xmm12, xmmword [rbp + 0x60]
movsd xmm1, qword [rbp + 0x90]
mov byte [rbp - 0x74], 1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm9
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm12
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm6
movsd qword [rbp], xmm1
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x78], 0x6106c
mov dword [rbp - 0x6c], 0x41800000
lea rax, [0x14004a1a8]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.140036360
mov r12, qword [rdi + 0x38]
mov rax, qword [0x1400cd1d8]
test rax, rax
je 0x1400035e4
inc dword [rax + 0xec]
mov ecx, 0x2d70c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [0x1400835c0]
mov qword [0x1400cd2c8], rax
lea rsi, [r14 + 0x2d70c]
mov qword [0x1400cd2d0], rsi
mov qword [0x1400cd2d8], r14
mov qword [0x1400cd2e0], r14
lea rbx, [0x1400835d0]
mov rcx, rbx
call fcn.14003ad30
cmp rax, rbx
je 0x140003649
cmp qword [0x1400cd2e0], rsi
ja 0x140003649
mov rbx, rax
mov rcx, rax
call fcn.14003ad30
cmp rax, rbx
jne 0x140003630
movaps xmmword [rbp - 0x80], xmm7
movsd xmm1, qword [rbp + 0x90]
mov byte [rbp - 0x74], 1
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm9
movaps xmmword [rbp - 0x60], xmm10
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm11
movaps xmmword [rbp - 0x30], xmm12
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm6
movsd qword [rbp], xmm1
mov qword [rbp - 0x80], r14
mov dword [rbp - 0x78], 0x2d70c
mov dword [rbp - 0x6c], 0x41800000
lea rax, [0x1400c3640]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.140036360
movss xmm0, dword [r15 + 0x37d4]
mulss xmm0, dword [0x1400c4874]
movss xmm3, dword [0x1400c48e4]
subss xmm3, xmm0
lea rax, [0x1400c4608]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea rdx, [0x1400a8fd0]
mov rcx, qword [rdi + 0x38]
call fcn.140036630
mov qword [0x1400cd0c8], rax
lea rax, [0x1400cd118]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x1c
mov r9d, 0x1c
mov r8d, 0x26a
lea rdx, [0x1400cc0d0]
mov rcx, qword [0x1400cd1c0]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx]
mov rcx, qword [0x1400cd108]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
lea r11, [rsp + 0x208]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm9, xmmword [r11 - 0x38]
movaps xmm10, xmmword [r11 - 0x48]
movaps xmm11, xmmword [r11 - 0x58]
movaps xmm12, xmmword [r11 - 0x68]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret