Function at 0x140047920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x68]
sub rsp, 0x168
lea rdx, [0x14008a6d8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140047957
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x14008a60c], rsi
mov qword [0x14008a618], 1
mov qword [0x14008a634], rsi
mov dword [0x14008a628], 1
mov r9, qword [0x14008a690]
mov qword [0x14008a620], r9
mov dword [0x14008a614], esi
mov dword [0x14008a608], 0x15
mov eax, dword [0x14008a6ec]
mov dword [0x14008a600], eax
mov eax, dword [0x14008a6f4]
mov dword [0x14008a604], eax
mov dword [0x14008a62c], 1
mov dword [0x14008a630], 0x50
mov dword [0x14008a63c], 0x80000000
mov rcx, qword [0x14008a6d8]
mov rax, qword [rcx]
lea rdx, [0x14008a5e0]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rsi
lea rdx, [0x14008a600]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
lea r8d, [rsi + 1]
call qword [rax + 0xa0]
test eax, eax
jns 0x140047a26
mov rcx, qword [0x14008a6d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea ecx, [rsi + 4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [0x14008a690]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, qword [0x14008a5c8]
test rbx, rbx
je 0x140047a5f
inc dword [rbx + 0xec]
mov ecx, 0x5e68
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0x90]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x140047a97
xor edx, edx
mov rcx, rax
call fcn.1400014b0
jmp 0x140047a9a
mov rax, rsi
mov qword [0x14008a5c8], rax
call fcn.1400056a0
test rbx, rbx
je 0x140047ab2
mov qword [0x14008a5c8], rbx
mov rcx, qword [0x14008a690]
call fcn.14002ddc0
mov rdi, qword [0x14008a5e0]
mov rbx, qword [0x14008a5c8]
test rbx, rbx
je 0x140047ad7
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 0x140047b06
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x140047b09
mov rax, rsi
mov qword [rbx + 0x98], rax
lea rcx, str.gui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rax, qword [0x14008a5c8]
mov qword [rax + 0x20], rsi
xorps xmm2, xmm2
xor ecx, ecx
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rsp + 0x60], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
mov qword [rbp - 0x40], rcx
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov dword [rbp - 0x7c], 0x7f7fffff
mov dword [rbp - 0x70], 0x3f800000
mov ecx, 0xffff
mov word [rbp - 0x6c], cx
mov dword [rsp + 0x64], 0x3f99999a
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm2
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
movsd xmm0, qword [rbp - 0x40]
movsd qword [rbp + 0x50], xmm0
lea rcx, str.OTTO
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], 0xe
mov dword [rbp - 0x1c], 0x41600000
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x38]
call fcn.1400288f0
mov qword [0x14008a6e0], rax
mov rax, qword [0x14008a5c8]
mov dword [rax + 0x37c8], 0x3f800000
mov dword [rax + 0x37cc], 0x3f800000
mov dword [rax + 0x37d0], 0x41400000
mov dword [rax + 0x37d4], 0x41400000
mov qword [rax + 0x37d8], 0x41000000
mov dword [rax + 0x37e0], 0x41a00000
mov dword [rax + 0x37e4], 0x41a00000
mov dword [rax + 0x37e8], 0x3f000000
mov dword [rax + 0x37ec], 0x3f000000
mov dword [rax + 0x37f0], 0xffffffff
mov dword [rax + 0x37f4], esi
mov qword [rax + 0x37f8], 0x3f800000
mov dword [rax + 0x3800], 0x3f800000
mov dword [rax + 0x3804], 0x40c00000
mov qword [rax + 0x3808], 0x40c00000
mov dword [rax + 0x3810], esi
mov dword [rax + 0x3814], 0x41400000
mov dword [rax + 0x3818], 0x40c00000
mov dword [rax + 0x381c], 0x40c00000
mov dword [rax + 0x3820], 0x40400000
mov dword [rax + 0x3824], 0x41400000
mov dword [rax + 0x3828], 0x40c00000
mov dword [rax + 0x3834], 0x41a00000
mov dword [rax + 0x3838], 0x40c00000
mov qword [rax + 0x383c], 0x41400000
mov dword [rax + 0x3844], 0x41400000
mov dword [rax + 0x3848], 0x40400000
mov qword [rax + 0x3850], rsi
mov dword [rax + 0x3858], esi
mov dword [rax + 0x385c], 1
mov dword [rax + 0x3860], 0x3f000000
mov qword [rax + 0x3864], 0x3f000000
mov dword [rax + 0x386c], esi
mov dword [rax + 0x38a4], 0x3f800000
mov dword [rax + 0x38a8], 0x3f800000
mov dword [rax + 0x38ac], 0x3f800000
mov dword [rax + 0x38b0], 0x3f800000
mov dword [rax + 0x38b4], 0x3e8c8c8d
mov dword [rax + 0x38b8], 0x3ea2a2a3
mov dword [rax + 0x38bc], 0x3ee6e6e7
mov dword [rax + 0x38c0], 0x3f800000
mov dword [rax + 0x38c4], 0x3da0a0a1
mov dword [rax + 0x38c8], 0x3db0b0b1
mov dword [rax + 0x38cc], 0x3dd0d0d1
mov dword [rax + 0x38d0], 0x3f800000
mov dword [rax + 0x38d4], 0x3da0a0a1
mov dword [rax + 0x38d8], 0x3db0b0b1
mov dword [rax + 0x38dc], 0x3dd0d0d1
mov dword [rax + 0x38e0], 0x3f800000
mov dword [rax + 0x38e4], 0x3da0a0a1
mov dword [rax + 0x38e8], 0x3db0b0b1
mov dword [rax + 0x38ec], 0x3dd0d0d1
mov dword [rax + 0x38f0], 0x3f800000
mov dword [rax + 0x38f4], 0x3e20a0a1
mov dword [rax + 0x38f8], 0x3e2cacad
mov dword [rax + 0x38fc], 0x3e44c4c5
mov dword [rax + 0x3900], 0x3f800000
mov dword [rax + 0x3904], 0x3da0a0a1
mov dword [rax + 0x3908], 0x3db0b0b1
mov dword [rax + 0x390c], 0x3dd0d0d1
mov dword [rax + 0x3910], 0x3f800000
mov dword [rax + 0x3914], 0x3df0f0f1
mov dword [rax + 0x3918], 0x3e088889
mov dword [rax + 0x391c], 0x3e189899
mov dword [rax + 0x3920], 0x3f800000
mov dword [rax + 0x3924], 0x3e20a0a1
mov dword [rax + 0x3928], 0x3e2cacad
mov dword [rax + 0x392c], 0x3e44c4c5
mov dword [rax + 0x3930], 0x3f800000
mov dword [rax + 0x3934], 0x3e70f0f1
mov dword [rax + 0x3938], 0x3e5cdcdd
mov dword [rax + 0x393c], 0x3f189899
mov dword [rax + 0x3940], 0x3f800000
mov dword [rax + 0x3944], 0x3d40c0c1
mov dword [rax + 0x3948], 0x3d60e0e1
mov dword [rax + 0x394c], 0x3d909091
mov dword [rax + 0x3950], 0x3f800000
mov dword [rax + 0x3954], 0x3d40c0c1
mov dword [rax + 0x3958], 0x3d60e0e1
mov dword [rax + 0x395c], 0x3d909091
mov dword [rax + 0x3960], 0x3f800000
mov dword [rax + 0x3964], 0x3da0a0a1
mov dword [rax + 0x3968], 0x3db0b0b1
mov dword [rax + 0x396c], 0x3dd0d0d1
mov dword [rax + 0x3970], 0x3f800000
mov dword [rax + 0x3974], 0x3dc8c8c9
mov dword [rax + 0x3978], 0x3dd8d8d9
mov dword [rax + 0x397c], 0x3df8f8f9
mov dword [rax + 0x3980], 0x3f800000
mov dword [rax + 0x3984], 0x3d40c0c1
mov dword [rax + 0x3988], 0x3d60e0e1
mov dword [rax + 0x398c], 0x3d909091
mov dword [rax + 0x3990], 0x3f800000
mov dword [rax + 0x3994], 0x3df0f0f1
mov dword [rax + 0x3998], 0x3e088889
mov dword [rax + 0x399c], 0x3e189899
mov dword [rax + 0x39a0], 0x3f800000
mov dword [rax + 0x39a4], 0x3e20a0a1
mov dword [rax + 0x39a8], 0x3e2cacad
mov dword [rax + 0x39ac], 0x3e44c4c5
mov dword [rax + 0x39b0], 0x3f800000
mov dword [rax + 0x39b4], 0x3df0f0f1
mov dword [rax + 0x39b8], 0x3e088889
mov dword [rax + 0x39bc], 0x3e189899
mov dword [rax + 0x39c0], 0x3f800000
mov dword [rax + 0x39c4], 0x3efefeff
mov dword [rax + 0x39c8], 0x3f038384
mov dword [rax + 0x39cc], 0x3f800000
mov dword [rax + 0x39d0], 0x3f800000
mov dword [rax + 0x39d4], 0x3efefeff
mov dword [rax + 0x39d8], 0x3f038384
mov dword [rax + 0x39dc], 0x3f800000
mov dword [rax + 0x39e0], 0x3f800000
mov dword [rax + 0x39e4], 0x3f09898a
mov dword [rax + 0x39e8], 0x3f0d8d8e
mov dword [rax + 0x39ec], 0x3f800000
mov dword [rax + 0x39f0], 0x3f800000
mov dword [rax + 0x39f4], 0x3df0f0f1
mov dword [rax + 0x39f8], 0x3e088889
mov dword [rax + 0x39fc], 0x3e189899
mov dword [rax + 0x3a00], 0x3f800000
mov dword [rax + 0x3a04], 0x3e48c8c9
mov dword [rax + 0x3a08], 0x3e34b4b5
mov dword [rax + 0x3a0c], 0x3f0b8b8c
mov dword [rax + 0x3a10], 0x3f800000
mov dword [rax + 0x3a14], 0x3e70f0f1
mov dword [rax + 0x3a18], 0x3e5cdcdd
mov dword [rax + 0x3a1c], 0x3f189899
mov dword [rax + 0x3a20], 0x3f800000
mov dword [rax + 0x3a24], 0x3df0f0f1
mov dword [rax + 0x3a28], 0x3e088889
mov dword [rax + 0x3a2c], 0x3e189899
mov dword [rax + 0x3a30], 0x3f800000
mov dword [rax + 0x3a34], 0x3e48c8c9
mov dword [rax + 0x3a38], 0x3e34b4b5
mov dword [rax + 0x3a3c], 0x3f0b8b8c
mov dword [rax + 0x3a40], 0x3f800000
mov dword [rax + 0x3a44], 0x3e70f0f1
mov dword [rax + 0x3a48], 0x3e5cdcdd
mov dword [rax + 0x3a4c], 0x3f189899
mov dword [rax + 0x3a50], 0x3f800000
mov dword [rax + 0x3a54], 0x3e20a0a1
mov dword [rax + 0x3a58], 0x3e3cbcbd
mov dword [rax + 0x3a5c], 0x3e808081
mov dword [rax + 0x3a60], 0x3f800000
mov dword [rax + 0x3a64], 0x3e20a0a1
mov dword [rax + 0x3a68], 0x3e3cbcbd
mov dword [rax + 0x3a6c], 0x3e808081
mov dword [rax + 0x3a70], 0x3f800000
mov dword [rax + 0x3a74], 0x3e20a0a1
mov dword [rax + 0x3a78], 0x3e3cbcbd
mov dword [rax + 0x3a7c], 0x3e808081
mov dword [rax + 0x3a80], 0x3f800000
mov dword [rax + 0x3a84], 0x3df0f0f1
mov dword [rax + 0x3a88], 0x3e088889
mov dword [rax + 0x3a8c], 0x3e189899
mov dword [rax + 0x3a90], 0x3f800000
mov dword [rax + 0x3a94], 0x3e48c8c9
mov dword [rax + 0x3a98], 0x3e34b4b5
mov dword [rax + 0x3a9c], 0x3f0b8b8c
mov dword [rax + 0x3aa0], 0x3f800000
mov dword [rax + 0x3aa4], 0x3e70f0f1
mov dword [rax + 0x3aa8], 0x3e5cdcdd
mov dword [rax + 0x3aac], 0x3f189899
mov dword [rax + 0x3ab0], 0x3f800000
mov dword [rax + 0x3ab4], 0x3d40c0c1
mov dword [rax + 0x3ab8], 0x3d60e0e1
mov dword [rax + 0x3abc], 0x3d909091
mov dword [rax + 0x3ac0], 0x3f800000
mov dword [rax + 0x3ac4], 0x3df0f0f1
mov dword [rax + 0x3ac8], 0x3e088889
mov dword [rax + 0x3acc], 0x3e189899
mov dword [rax + 0x3ad0], 0x3f800000
mov dword [rax + 0x3ad4], 0x3dc8c8c9
mov dword [rax + 0x3ad8], 0x3dd8d8d9
mov dword [rax + 0x3adc], 0x3df8f8f9
mov dword [rax + 0x3ae0], 0x3f800000
mov dword [rax + 0x3ae4], 0x3d40c0c1
mov dword [rax + 0x3ae8], 0x3d60e0e1
mov dword [rax + 0x3aec], 0x3d909091
mov dword [rax + 0x3af0], 0x3f800000
mov dword [rax + 0x3af4], 0x3da0a0a1
mov dword [rax + 0x3af8], 0x3db0b0b1
mov dword [rax + 0x3afc], 0x3dd0d0d1
mov dword [rax + 0x3b00], 0x3f800000
mov dword [rax + 0x3b04], 0x3f058586
mov dword [rax + 0x3b08], 0x3f19999a
mov dword [rax + 0x3b0c], 0x3f33b3b4
mov dword [rax + 0x3b10], 0x3f800000
mov dword [rax + 0x3b14], 0x3d20a0a1
mov dword [rax + 0x3b18], 0x3f7afafb
mov dword [rax + 0x3b1c], 0x3f7afafb
mov dword [rax + 0x3b20], 0x3f800000
mov dword [rax + 0x3b24], 0x3f800000
mov dword [rax + 0x3b28], 0x3e949495
mov dword [rax + 0x3b2c], 0x3f189899
mov dword [rax + 0x3b30], 0x3f800000
mov dword [rax + 0x3b34], 0x3f7efeff
mov dword [rax + 0x3b38], 0x3ef2f2f3
mov dword [rax + 0x3b3c], 0x3f32b2b3
mov dword [rax + 0x3b40], 0x3f800000
mov dword [rax + 0x3b44], 0x3d40c0c1
mov dword [rax + 0x3b48], 0x3d60e0e1
mov dword [rax + 0x3b4c], 0x3d909091
mov dword [rax + 0x3b50], 0x3f800000
mov dword [rax + 0x3b54], 0x3d40c0c1
mov dword [rax + 0x3b58], 0x3d60e0e1
mov dword [rax + 0x3b5c], 0x3d909091
mov qword [rax + 0x3b60], 0x3f800000
mov qword [rax + 0x3b68], rsi
mov dword [rax + 0x3b70], 0x3f800000
mov dword [rax + 0x3b74], 0x3df0f0f1
mov dword [rax + 0x3b78], 0x3e088889
mov dword [rax + 0x3b7c], 0x3e189899
mov dword [rax + 0x3b80], 0x3f800000
mov dword [rax + 0x3b84], 0x3dc8c8c9
mov dword [rax + 0x3b88], 0x3dd8d8d9
mov dword [rax + 0x3b8c], 0x3df8f8f9
mov dword [rax + 0x3b90], 0x3f800000
mov dword [rax + 0x3b94], 0x3e70f0f1
mov dword [rax + 0x3b98], 0x3e5cdcdd
mov dword [rax + 0x3b9c], 0x3f189899
mov dword [rax + 0x3ba0], 0x3f800000
mov dword [rax + 0x3ba4], 0x3efefeff
mov dword [rax + 0x3ba8], 0x3f038384
mov dword [rax + 0x3bac], 0x3f800000
mov dword [rax + 0x3bb0], 0x3f800000
mov dword [rax + 0x3bb4], 0x3efefeff
mov dword [rax + 0x3bb8], 0x3f038384
mov dword [rax + 0x3bbc], 0x3f800000
mov dword [rax + 0x3bc0], 0x3f800000
mov dword [rax + 0x3bc4], 0x3efefeff
mov dword [rax + 0x3bc8], 0x3f038384
mov dword [rax + 0x3bcc], 0x3f800000
mov dword [rax + 0x3bd0], 0x3f800000
mov dword [rax + 0x3bd4], 0x3e48c8c9
mov dword [rax + 0x3bd8], 0x3e34b4b5
mov dword [rax + 0x3bdc], 0x3f0b8b8c
mov dword [rax + 0x3be0], 0x3f008081
mov dword [rax + 0x3be4], 0x3e48c8c9
mov dword [rax + 0x3be8], 0x3e34b4b5
mov dword [rax + 0x3bec], 0x3f0b8b8c
mov dword [rax + 0x3bf0], 0x3f008081
mov rcx, qword [0x14008a6d8]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
pop rbx
pop rbp
ret