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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov rax, qword [0x140276680]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ecx, 0xbe2
call qword [sym.imp.OPENGL32.dll_glEnable]
mov rax, qword [sym.imp.glew32.dll___glewBlendEquation]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov ecx, 0x8006
call qword [rsp + 0x48]
mov rax, qword [sym.imp.glew32.dll___glewBlendFuncSeparate]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov r9d, 0x303
mov r8d, 1
mov edx, 0x303
mov ecx, 0x302
call qword [rsp + 0x50]
mov ecx, 0xb44
call qword [sym.imp.OPENGL32.dll_glDisable]
mov ecx, 0xb71
call qword [sym.imp.OPENGL32.dll_glDisable]
mov ecx, 0xb90
call qword [sym.imp.OPENGL32.dll_glDisable]
mov ecx, 0xc11
call qword [sym.imp.OPENGL32.dll_glEnable]
cmp dword [0x140296348], 0x136
jb 0x1400b953b
mov ecx, 0x8f9d
call qword [sym.imp.OPENGL32.dll_glDisable]
mov edx, 0x1b02
mov ecx, 0x408
call qword [sym.imp.OPENGL32.dll_glPolygonMode]
mov byte [rsp + 0x30], 1
movzx eax, byte [0x14029634c]
test eax, eax
je 0x1400b958b
mov dword [rsp + 0xc0], 0
lea rdx, [rsp + 0xc0]
mov ecx, 0x935c
call qword [sym.imp.OPENGL32.dll_glGetIntegerv]
cmp dword [rsp + 0xc0], 0x8ca2
jne 0x1400b958b
mov byte [rsp + 0x30], 0
mov r9d, dword [rsp + 0x140]
mov r8d, dword [rsp + 0x138]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.OPENGL32.dll_glViewport]
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 0x18]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
movss xmm0, dword [rax + 0x18]
addss xmm0, dword [rcx + 0x20]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x130]
movss xmm0, dword [rax + 0x1c]
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x130]
movss xmm0, dword [rax + 0x1c]
addss xmm0, dword [rcx + 0x24]
movss dword [rsp + 0x34], xmm0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400b9638
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x44], xmm0
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x40]
subss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [0x1401e42f8]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xd0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xd4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xd8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xdc], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe0], xmm0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
movss xmm1, dword [0x1401e42f8]
divss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xe4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xe8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xec], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xf0], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xf4], xmm0
movss xmm0, dword [0x1401ef618]
movss dword [rsp + 0xf8], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0xfc], xmm0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [rsp + 0x3c]
movss xmm1, dword [rsp + 0x3c]
subss xmm1, dword [rsp + 0x40]
divss xmm0, xmm1
movss dword [rsp + 0x100], xmm0
movss xmm0, dword [rsp + 0x38]
addss xmm0, dword [rsp + 0x34]
movss xmm1, dword [rsp + 0x34]
subss xmm1, dword [rsp + 0x38]
divss xmm0, xmm1
movss dword [rsp + 0x104], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x108], xmm0
movss xmm0, dword [0x1401e42ec]
movss dword [rsp + 0x10c], xmm0
mov rax, qword [sym.imp.glew32.dll___glewUseProgram]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x140296374]
call qword [rsp + 0x58]
mov rax, qword [sym.imp.glew32.dll___glewUniform1i]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
xor edx, edx
mov ecx, dword [0x140296378]
call qword [rsp + 0x60]
mov rax, qword [sym.imp.glew32.dll___glewUniformMatrix4fv]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0
lea rax, [rsp + rax + 0xd0]
mov ecx, 4
imul rcx, rcx, 0
add rax, rcx
mov r9, rax
xor r8d, r8d
mov edx, 1
mov ecx, dword [0x14029637c]
call qword [rsp + 0x68]
cmp dword [0x140296348], 0x14a
jb 0x1400b97fc
mov rax, qword [sym.imp.glew32.dll___glewBindSampler]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
xor edx, edx
xor ecx, ecx
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov rax, qword [sym.imp.glew32.dll___glewBindVertexArray]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x148]
call qword [rsp + 0x78]
mov rax, qword [sym.imp.glew32.dll___glewBindBuffer]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov edx, dword [0x14029638c]
mov ecx, 0x8892
call qword [rsp + 0x80]
mov rax, qword [sym.imp.glew32.dll___glewBindBuffer]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov edx, dword [0x140296390]
mov ecx, 0x8893
call qword [rsp + 0x88]
mov rax, qword [sym.imp.glew32.dll___glewEnableVertexAttribArray]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov ecx, dword [0x140296380]
call qword [rsp + 0x90]
mov rax, qword [sym.imp.glew32.dll___glewEnableVertexAttribArray]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov ecx, dword [0x140296384]
call qword [rsp + 0x98]
mov rax, qword [sym.imp.glew32.dll___glewEnableVertexAttribArray]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x140296388]
call qword [rsp + 0xa0]
mov rax, qword [sym.imp.glew32.dll___glewVertexAttribPointer]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
xor r9d, r9d
mov r8d, 0x1406
mov edx, 2
mov ecx, dword [0x140296380]
call qword [rsp + 0xa8]
mov rax, qword [sym.imp.glew32.dll___glewVertexAttribPointer]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x28], 8
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
xor r9d, r9d
mov r8d, 0x1406
mov edx, 2
mov ecx, dword [0x140296384]
call qword [rsp + 0xb0]
mov rax, qword [sym.imp.glew32.dll___glewVertexAttribPointer]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov r9b, 1
mov r8d, 0x1401
mov edx, 4
mov ecx, dword [0x140296388]
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401d7940
add rsp, 0x128
ret