Function at 0x1400bee60
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 [0x1403532b0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ecx, 0xbe2
call qword [sym.imp.OPENGL32.dll_glEnable]
mov rax, qword [0x14035b4c0]
mov qword [rsp + 0x48], rax
mov ecx, 0x8006
call qword [rsp + 0x48]
mov rax, qword [0x14035b4c8]
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 [0x140397330], 0x136
jb 0x1400bef15
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 [0x140382a7f]
test eax, eax
je 0x1400bef65
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 0x1400bef65
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 0x1400bf012
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 [0x1403372c8]
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 [0x1403372c8]
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 [0x140337570]
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 [0x14033725c]
movss dword [rsp + 0x10c], xmm0
mov rax, qword [0x1403568d0]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x140397334]
call qword [rsp + 0x58]
mov rax, qword [0x140356730]
mov qword [rsp + 0x60], rax
xor edx, edx
mov ecx, dword [0x1403972a4]
call qword [rsp + 0x60]
mov rax, qword [0x1403568b8]
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 [0x14039732c]
call qword [rsp + 0x68]
cmp dword [0x140397330], 0x14a
jb 0x1400bf1ca
mov rax, qword [0x140359bd0]
mov qword [rsp + 0x70], rax
xor edx, edx
xor ecx, ecx
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov rax, qword [0x14035a8c0]
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x148]
call qword [rsp + 0x78]
mov rax, qword [0x14035ba38]
mov qword [rsp + 0x80], rax
mov edx, dword [0x140397328]
mov ecx, 0x8892
call qword [rsp + 0x80]
mov rax, qword [0x14035ba38]
mov qword [rsp + 0x88], rax
mov edx, dword [0x140397320]
mov ecx, 0x8893
call qword [rsp + 0x88]
mov rax, qword [0x1403564a0]
mov qword [rsp + 0x90], rax
mov ecx, dword [0x140397338]
call qword [rsp + 0x90]
mov rax, qword [0x1403564a0]
mov qword [rsp + 0x98], rax
mov ecx, dword [0x140397340]
call qword [rsp + 0x98]
mov rax, qword [0x1403564a0]
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x14039733c]
call qword [rsp + 0xa0]
mov rax, qword [0x140356c80]
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 [0x140397338]
call qword [rsp + 0xa8]
mov rax, qword [0x140356c80]
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 [0x140397340]
call qword [rsp + 0xb0]
mov rax, qword [0x140356c80]
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 [0x14039733c]
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401f7b40
add rsp, 0x128
ret