Function at 0x140078300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x920
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rsi, rcx
xor ebp, ebp
mov qword [rcx + 0x18], rbp
mov dword [rcx + 0x20], ebp
mov qword [rcx + 0x24], 0x41200000
mov dword [rcx + 0x2c], ebp
mov dword [rcx + 0x30], 0xbf800000
mov dword [rcx + 0x34], ebp
mov qword [rcx + 0x38], 0x3f800000
mov dword [rcx + 0x58], 0x40a00000
mov dword [rcx + 0x68], 0xc2b40000
mov dword [rcx + 0x6c], ebp
mov dword [rcx + 0x70], 0x42700000
mov dword [rcx + 0x74], 0x3dcccccd
mov qword [rcx + 0x78], 0x41200000
mov qword [rcx + 0x80], rbp
mov dword [rcx + 0x88], 0x49742400
mov dword [rcx + 0x8c], 0x38d1b717
mov byte [rcx + 0x90], bpl
mov dword [rcx + 0x98], 0x64
mov dword [rcx + 0x9c], 0x40200000
mov dword [rcx + 0xa0], 0x40a00000
mov dword [rcx + 0xa4], 0x49742400
mov dword [rcx + 0xa8], 0x4b189680
mov dword [rcx + 0xac], 0x4e6e6b28
mov qword [rcx + 0xb0], 0x501502f9
mov qword [rcx + 0xb8], rbp
mov dword [rcx + 0xc0], 0x3f800000
mov word [rcx + 0xc4], 1
mov byte [rcx + 0xc6], 1
mov dword [rcx + 0xc8], 0x501502f9
mov dword [rcx + 0xcc], 0x501502f9
mov dword [rcx + 0xd0], 0x453b8000
mov dword [rcx + 0xd4], 0x41a00000
mov dword [rcx + 0xd8], 0x57
mov dword [rcx + 0xdc], 0x53
mov dword [rcx + 0xe0], 0x41
mov dword [rcx + 0xe4], 0x44
mov dword [rcx + 0xe8], 0x20
mov dword [rcx + 0xec], 0x154
mov dword [rcx + 0xf0], 0x105
mov dword [rcx + 0xf4], 0x155
mov dword [rcx + 0xf8], 0x51
mov dword [rcx + 0xfc], 0x45
mov dword [rcx + 0x100], 0x52
mov dword [rcx + 0x104], 0x46
mov dword [rcx + 0x108], 0x58
mov dword [rcx + 0x10c], 0x47
mov qword [rcx + 0x140], rbp
mov qword [rcx + 0x148], rbp
mov qword [rcx + 0x150], rbp
mov qword [rcx + 0x158], rbp
mov qword [rcx + 0x160], rbp
mov qword [rcx + 0x168], rbp
mov dword [rcx + 0x178], 0x3c
mov qword [rcx + 0x17c], 0x3c
mov qword [rcx + 0x188], rbp
mov qword [rcx + 0x190], rbp
movabs rax, 0xc014000000000000
mov qword [rcx + 0x198], rax
mov dword [rcx + 0x1a0], 0x3f800000
mov word [rcx + 0x1a4], bp
mov dword [rcx + 0x1a8], ebp
mov word [rcx + 0x1b8], bp
mov byte [rcx + 0x1ba], bpl
mov dword [rcx + 0x1d0], 0xa
mov word [rcx + 0x1d4], 0x100
mov byte [rcx + 0x1d6], 1
mov dword [rcx + 0x1d8], 0x3f800000
mov qword [rcx + 0x1dc], 0x3d4ccccd
mov dword [rcx + 0x1e4], ebp
mov dword [rcx + 0x1e8], 0x3dcccccd
mov dword [rcx + 0x1ec], 0x3dcccccd
mov dword [rcx + 0x1f0], 0x3dcccccd
lea rdx, str..UTF8
lea ecx, [rbp + 2]
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
call fcn.140094f30
lea edx, [rbp + 4]
mov ecx, 0x22002
call fcn.1400904d0
lea edx, [rbp + 3]
mov ecx, 0x22003
call fcn.1400904d0
mov edx, 0x32001
mov ecx, 0x22008
call fcn.1400904d0
call fcn.140093ac0
mov qword [rsi + 0x128], rax
mov rcx, rax
call fcn.140094090
mov rbx, rax
mov edx, dword [rax + 4]
mov ecx, dword [rax]
mov dword [rsp + 0x948], ecx
mov dword [rsp + 0x94c], edx
mov rcx, qword [rsp + 0x948]
mov qword [rsi + 0x170], rcx
mov edx, dword [rax + 8]
mov ecx, 0x21001
call fcn.1400904d0
mov edx, dword [rbx + 0xc]
mov ecx, 0x21002
call fcn.1400904d0
mov edx, dword [rbx + 0x10]
mov ecx, 0x21003
call fcn.1400904d0
mov edx, dword [rbx + 0x14]
mov ecx, 0x2100f
call fcn.1400904d0
lea edx, [rbp + 4]
mov ecx, 0x2100d
call fcn.1400904d0
mov qword [rsp + 0x20], rbp
mov r9, qword [rsi + 0x128]
lea r8, str.N_Body_Simulation
mov edx, dword [rsi + 0x174]
mov ecx, dword [rsi + 0x170]
call fcn.140090c30
mov qword [rsi + 0x120], rax
test rax, rax
je 0x140078e90
mov rcx, rax
call fcn.14008b420
lea ecx, [rbp + 1]
call fcn.14008b5c0
mov rdx, rsi
mov rcx, qword [rsi + 0x120]
call fcn.140092660
call fcn.14008cd40
test eax, eax
je 0x1400786af
mov edx, 0x33005
lea r8d, [rbp + 1]
mov rcx, qword [rsi + 0x120]
call fcn.14008ca30
lea r8, [rsi + 0x190]
lea rdx, [rsi + 0x188]
mov rcx, qword [rsi + 0x120]
call fcn.14008d030
call fcn.140002b00
test eax, eax
je 0x140078e7b
lea rdx, [rsi + 0x110]
mov ecx, 1
call qword [0x140112e48]
mov edx, dword [rsi + 0x110]
mov ecx, 0x90d2
call qword [0x140112ec8]
mov r8d, dword [rsi + 0x110]
xor edx, edx
mov ecx, 0x90d2
call qword [0x140112d80]
mov ecx, 0x58
call fcn.1400a5db4
mov rcx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x1c], 0xbf800000
mov dword [rcx + 0x20], 0xbf800000
mov dword [rcx + 0x24], 0xbf800000
mov dword [rcx + 0x28], 0x3f800000
mov dword [rcx + 0x2c], 0x3f800000
mov dword [rcx + 0x30], 0x3f800000
mov dword [rcx + 0x34], 0xbf800000
mov dword [rcx + 0x38], 0xbf800000
mov dword [rcx + 0x3c], 0x3f800000
mov dword [rcx + 0x40], 0x3f800000
mov dword [rcx + 0x44], 0x3f800000
mov dword [rcx + 0x48], 0xbf800000
lea rax, vtable.ComputeShader.0
mov qword [rcx], rax
mov qword [rsi + 8], rcx
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [0x140112e40]
mov rax, qword [0x140112d90]
mov rcx, qword [rsi + 8]
lea r8, str.vBuffer
mov edx, 0x92e6
mov ecx, dword [rcx + 0x4c]
call rax
mov rcx, qword [rsi + 8]
xor r8d, r8d
mov edx, eax
mov ecx, dword [rcx + 0x4c]
call rbx
mov rdi, qword [0x140112d18]
mov ebx, dword [rsi + 0x1a8]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi + 8]
lea rdx, str.collisionType
mov ecx, dword [rcx + 0x4c]
call rax
mov edx, ebx
mov ecx, eax
call rdi
mov ecx, 0x100
call fcn.1400a5db4
mov rbx, rax
mov qword [rsp + 0x948], rax
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rsi + 0x174]
mov ecx, dword [rsi + 0x170]
mov dword [rbx + 0x1c], 0xbf800000
mov dword [rbx + 0x20], 0xbf800000
mov dword [rbx + 0x24], 0xbf800000
mov dword [rbx + 0x28], 0x3f800000
mov dword [rbx + 0x2c], 0x3f800000
mov dword [rbx + 0x30], 0x3f800000
mov dword [rbx + 0x34], 0xbf800000
mov dword [rbx + 0x38], 0xbf800000
mov dword [rbx + 0x3c], 0x3f800000
mov dword [rbx + 0x40], 0x3f800000
mov dword [rbx + 0x44], 0x3f800000
mov dword [rbx + 0x48], 0xbf800000
lea rax, vtable.PostProcessing.0
mov qword [rbx], rax
mov dword [rbx + 0x78], 0xbf800000
mov dword [rbx + 0x7c], 0xbf800000
mov qword [rbx + 0x80], rbp
mov dword [rbx + 0x88], 0xbf800000
mov qword [rbx + 0x8c], 0x3f800000
mov dword [rbx + 0x94], 0x3f800000
mov dword [rbx + 0x98], 0x3f800000
mov dword [rbx + 0x9c], 0x3f800000
mov dword [rbx + 0xa0], 0x3f800000
mov dword [rbx + 0xa4], 0x3f800000
mov dword [rbx + 0xa8], 0xbf800000
mov dword [rbx + 0xac], 0xbf800000
mov qword [rbx + 0xb0], rbp
mov dword [rbx + 0xb8], 0x3f800000
mov dword [rbx + 0xbc], 0x3f800000
mov dword [rbx + 0xc0], 0x3f800000
mov dword [rbx + 0xc4], 0x3f800000
mov dword [rbx + 0xc8], 0x3f800000
mov dword [rbx + 0xcc], 0xbf800000
mov qword [rbx + 0xd0], 0x3f800000
mov dword [rbx + 0xe0], 8
mov qword [rbx + 0xe8], rbp
mov qword [rbx + 0xf0], rbp
mov qword [rbx + 0xf8], rbp
mov dword [rsp + 0x948], ecx
mov dword [rsp + 0x94c], edx
mov rax, qword [rsp + 0x948]
mov qword [rbx + 0xd8], rax
mov qword [rsi + 0x10], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov ecx, 0x50
call fcn.1400a5db4
mov rcx, rax
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], ebp
mov dword [rax + 0x4c], ebp
lea rax, vtable.Shader.0
mov qword [rcx], rax
mov dword [rcx + 0x1c], 0xbf800000
mov dword [rcx + 0x20], 0xbf800000
mov dword [rcx + 0x24], 0xbf800000
mov dword [rcx + 0x28], 0x3f800000
mov dword [rcx + 0x2c], 0x3f800000
mov dword [rcx + 0x30], 0x3f800000
mov dword [rcx + 0x34], 0xbf800000
mov dword [rcx + 0x38], 0xbf800000
mov dword [rcx + 0x3c], 0x3f800000
mov dword [rcx + 0x40], 0x3f800000
mov dword [rcx + 0x44], 0x3f800000
mov dword [rcx + 0x48], 0xbf800000
mov qword [rsi], rcx
mov rax, qword [rcx]
call qword [rax]
mov rcx, rsi
call fcn.140079840
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [0x140112e40]
mov rax, qword [0x140112d90]
mov rcx, qword [rsi]
lea r8, str.vBuffer
mov edx, 0x92e6
mov ecx, dword [rcx + 0x4c]
call rax
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, eax
mov ecx, dword [rcx + 0x4c]
call rbx
mov rbx, qword [0x140112e08]
movss xmm6, dword [rsi + 0x24]
movss xmm7, dword [rsi + 0x20]
movss xmm8, dword [rsi + 0x1c]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, str.cameraPos
mov ecx, dword [rcx + 0x4c]
call rax
movaps xmm3, xmm6
movaps xmm2, xmm7
movaps xmm1, xmm8
mov ecx, eax
call rbx
mov rbx, qword [0x140112e08]
movss xmm6, dword [rsi + 0x1f0]
movss xmm7, dword [rsi + 0x1ec]
movss xmm8, dword [rsi + 0x1e8]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, str.ambientLight
mov ecx, dword [rcx + 0x4c]
call rax
movaps xmm3, xmm6
movaps xmm2, xmm7
movaps xmm1, xmm8
mov ecx, eax
call rbx
mov rdi, qword [0x140112d18]
mov rcx, qword [rsi + 0x160]
sub rcx, qword [rsi + 0x158]
movabs rax, 0x4bda12f684bda13
imul rcx
mov rbx, rdx
sar rbx, 1
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, str.numParticles
mov ecx, dword [rcx + 0x4c]
call rax
mov edx, ebx
mov ecx, eax
call rdi
mov rdi, qword [0x140112d18]
mov ebx, dword [rsi + 0x1d0]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, [0x1400d4d08]
mov ecx, dword [rcx + 0x4c]
call rax
mov edx, ebx
mov ecx, eax
call rdi
mov rdi, qword [0x140112d18]
movzx ebx, byte [rsi + 0x1d4]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, str.globalIllumination
mov ecx, dword [rcx + 0x4c]
call rax
mov edx, ebx
mov ecx, eax
call rdi
mov rdi, qword [0x140112d18]
movzx ebx, byte [rsi + 0x1d5]
mov rax, qword [0x140112ea8]
mov rcx, qword [rsi]
lea rdx, str.shadows
mov ecx, dword [rcx + 0x4c]
call rax
mov edx, ebx
mov ecx, eax
call rdi
mov ecx, 0x809d
call qword [0x140112d50]
lea rdx, [rsi + 0x118]
mov ecx, 1
call qword [0x140112dc8]
mov ecx, 0x84c0
call qword [0x140112e80]
mov edx, dword [rsi + 0x118]
mov ecx, 0xde1
call qword [0x140112e78]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], 0x1406
mov dword [rsp + 0x30], 0x1908
mov dword [rsp + 0x28], ebp
mov eax, dword [rsi + 0x174]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x170]
xor edx, edx
mov ecx, 0xde1
mov r8d, 0x8814
call qword [0x140112e30]
mov edx, 0x2801
mov ecx, 0xde1
mov r8d, 0x2601
call qword [0x140112d78]
mov edx, 0x2800
mov ecx, 0xde1
mov r8d, 0x2601
call qword [0x140112d78]
mov edx, 0x2802
mov ecx, 0xde1
mov r8d, 0x812f
call qword [0x140112d78]
mov edx, 0x2803
mov ecx, 0xde1
mov r8d, 0x812f
call qword [0x140112d78]
lea rdx, [rsi + 0x114]
mov ecx, 1
call qword [0x140112e98]
mov edx, dword [rsi + 0x114]
mov ecx, 0x8d40
call qword [0x140112e00]
mov dword [rsp + 0x20], ebp
mov r9d, dword [rsi + 0x118]
mov edx, 0x8ce0
lea ecx, [rdx + 0x60]
mov r8d, 0xde1
call qword [0x140112ed0]
lea rdx, [fcn.140078eb0]
mov rcx, qword [rsi + 0x120]
call fcn.140092ba0
lea rdx, [0x1400796d0]
mov rcx, qword [rsi + 0x120]
call fcn.14008d7c0
lea rdx, [0x140079100]
mov rcx, qword [rsi + 0x120]
call fcn.14008d5e0
lea rdx, [0x140079670]
mov rcx, qword [rsi + 0x120]
call fcn.14008d9a0
lea rdx, [0x140079570]
mov rcx, qword [rsi + 0x120]
call fcn.14008d860
mov ecx, 0x36001
call fcn.14008d390
mov qword [rsi + 0x130], rax
mov ecx, 0x36004
call fcn.14008d390
mov qword [rsi + 0x138], rax
mov r8d, dword [rsi + 0x174]
mov edx, dword [rsi + 0x170]
mov rcx, qword [rsi + 0x120]
call fcn.140078eb0
call fcn.140008d70
mov rbx, qword [0x140112f08]
mov rcx, qword [rbx + 0x38]
call fcn.14003a610
movss xmm2, dword [0x1400da4bc]
mov rcx, qword [rbx + 0x38]
call fcn.14003a780
mov qword [0x1401130f8], rax
or dword [rbx + 8], 0x41
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], rbp
call fcn.140075e60
mov rcx, qword [rsi + 0x120]
call fcn.140040c80
call fcn.140042790
xorps xmm4, xmm4
movups xmmword [rsp + 0x50], xmm4
movups xmmword [rsp + 0x60], xmm4
movups xmmword [rsp + 0x70], xmm4
movups xmmword [rsp + 0x90], xmm4
movups xmmword [rsp + 0xc0], xmm4
movaps xmm0, xmmword [0x1400da610]
movups xmmword [rsp + 0x54], xmm0
movaps xmm1, xmmword [0x1400da7e0]
movups xmmword [rsp + 0x64], xmm1
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x90], 0x40a00000
movaps xmm2, xmmword [0x1400da7a0]
movaps xmm3, xmmword [0x1400da5b0]
mov dword [rsp + 0xc0], 0x49742400
mov dword [rsp + 0xc4], 0x38d1b717
mov byte [rsp + 0xc8], 0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x28], xmm1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x38], xmm0
movups xmmword [rsi + 0x48], xmm4
movups xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm2
movups xmmword [rsi + 0x78], xmm3
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x88], xmm0
mov rax, rsi
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_load_GLAD
lea rcx, [rsp + 0xd0]
call fcn.1400766b0
int3
lea rdx, str.Failed_to_create_OpenGL_context
lea rcx, [rsp + 0xd0]
call fcn.1400766b0
int3