Function at 0x1400eeaf0
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 [0x1403c12b0]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ecx, 0xbe2
call qword [sym.imp.OPENGL32.dll_glEnable]
mov rax, qword [0x1403cd990]
mov qword [rsp + 0x48], rax
mov ecx, 0x8006
call qword [rsp + 0x48]
mov rax, qword [0x1403cd998]
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 [0x14040a130], 0x136
jb 0x1400eeba5
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 [0x1403f586f]
test eax, eax
je 0x1400eebf5
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 0x1400eebf5
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 0x1400eeca2
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 [0x1403a18f0]
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 [0x1403a18f0]
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 [0x1403a1ca0]
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 [0x1403a1880]
movss dword [rsp + 0x10c], xmm0
mov rax, qword [0x1403c8da0]
mov qword [rsp + 0x58], rax
mov ecx, dword [0x14040a134]
call qword [rsp + 0x58]
mov rax, qword [0x1403c8c00]
mov qword [rsp + 0x60], rax
xor edx, edx
mov ecx, dword [0x14040a0a4]
call qword [rsp + 0x60]
mov rax, qword [0x1403c8d88]
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 [0x14040a12c]
call qword [rsp + 0x68]
cmp dword [0x14040a130], 0x14a
jb 0x1400eee5a
mov rax, qword [0x1403cc0a0]
mov qword [rsp + 0x70], rax
xor edx, edx
xor ecx, ecx
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov rax, qword [0x1403ccd90]
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x148]
call qword [rsp + 0x78]
mov rax, qword [0x1403cdf08]
mov qword [rsp + 0x80], rax
mov edx, dword [0x14040a128]
mov ecx, 0x8892
call qword [rsp + 0x80]
mov rax, qword [0x1403cdf08]
mov qword [rsp + 0x88], rax
mov edx, dword [0x14040a120]
mov ecx, 0x8893
call qword [rsp + 0x88]
mov rax, qword [0x1403c8970]
mov qword [rsp + 0x90], rax
mov ecx, dword [0x14040a138]
call qword [rsp + 0x90]
mov rax, qword [0x1403c8970]
mov qword [rsp + 0x98], rax
mov ecx, dword [0x14040a140]
call qword [rsp + 0x98]
mov rax, qword [0x1403c8970]
mov qword [rsp + 0xa0], rax
mov ecx, dword [0x14040a13c]
call qword [rsp + 0xa0]
mov rax, qword [0x1403c9150]
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 [0x14040a138]
call qword [rsp + 0xa8]
mov rax, qword [0x1403c9150]
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 [0x14040a140]
call qword [rsp + 0xb0]
mov rax, qword [0x1403c9150]
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 [0x14040a13c]
call qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140226190
add rsp, 0x128
ret