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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xd8
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov edi, r9d
mov rsi, rdx
mov rbx, rcx
cmp byte [rcx + 4], 0
je 0x14007e350
mov rcx, r8
call fcn.140043360
mov rdx, rax
mov ecx, dword [rax]
mov dword [rbp - 0x79], ecx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x75], ecx
mov ecx, dword [rax + 8]
mov dword [rbp - 0x71], ecx
movss xmm0, dword [rax + 0xc]
movss dword [rbp - 0x6d], xmm0
movss xmm1, dword [rax + 0x10]
movss dword [rbp - 0x69], xmm1
movss xmm0, dword [rax + 0x14]
movss dword [rbp - 0x65], xmm0
movss xmm1, dword [rax + 0x18]
movss dword [rbp - 0x61], xmm1
movss xmm0, dword [rax + 0x1c]
movss dword [rbp - 0x5d], xmm0
movss xmm1, dword [rax + 0x20]
movss dword [rbp - 0x59], xmm1
movzx eax, byte [rax + 0x24]
mov byte [rbp - 0x55], al
mov eax, dword [rdx + 0x28]
mov dword [rbp - 0x51], eax
movzx eax, byte [rdx + 0x2c]
mov byte [rbp - 0x4d], al
mov eax, dword [rdx + 0x30]
mov dword [rbp - 0x49], eax
mov eax, dword [rdx + 0x34]
mov dword [rbp - 0x45], eax
mov eax, dword [rdx + 0x38]
mov dword [rbp - 0x41], eax
mov eax, dword [rdx + 0x3c]
mov dword [rbp - 0x3d], eax
mov eax, dword [rdx + 0x40]
mov dword [rbp - 0x39], eax
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov rax, qword [rdx + 0x50]
test rax, rax
je 0x14007e1a3
lock inc dword [rax + 8]
mov rax, qword [rdx + 0x48]
mov qword [rbp - 0x31], rax
mov rax, qword [rdx + 0x50]
mov qword [rbp - 0x29], rax
movzx eax, byte [rdx + 0x58]
mov byte [rbp - 0x21], al
movss xmm0, dword [rdx + 0x5c]
movss dword [rbp - 0x1d], xmm0
movss xmm1, dword [rdx + 0x60]
movss dword [rbp - 0x19], xmm1
movss xmm0, dword [rdx + 0x64]
movss dword [rbp - 0x15], xmm0
movss xmm1, dword [rdx + 0x68]
movss dword [rbp - 0x11], xmm1
movss xmm0, dword [rdx + 0x6c]
movss dword [rbp - 0xd], xmm0
movss xmm1, dword [rdx + 0x70]
movss dword [rbp - 9], xmm1
movss xmm0, dword [rdx + 0x74]
movss dword [rbp - 5], xmm0
movss xmm1, dword [rdx + 0x78]
movss dword [rbp - 1], xmm1
movss xmm0, dword [rdx + 0x7c]
movss dword [rbp + 3], xmm0
movss xmm1, dword [rdx + 0x80]
movss dword [rbp + 7], xmm1
movss xmm0, dword [rdx + 0x84]
movss dword [rbp + 0xb], xmm0
movss xmm1, dword [rdx + 0x88]
movss dword [rbp + 0xf], xmm1
movss xmm0, dword [rdx + 0x8c]
movss dword [rbp + 0x13], xmm0
movss xmm1, dword [rdx + 0x90]
movss dword [rbp + 0x17], xmm1
movss xmm0, dword [rdx + 0x94]
movss dword [rbp + 0x1b], xmm0
movss xmm1, dword [rdx + 0x98]
movss dword [rbp + 0x1f], xmm1
movzx eax, byte [rdx + 0x9c]
mov byte [rbp + 0x23], al
movzx eax, byte [rdx + 0x9d]
mov byte [rbp + 0x24], al
lea ecx, [rdi + 0x84c0]
call qword [0x1403bd850]
call fcn.1400925a0
mov ecx, dword [rbp - 0x75]
test al, al
jne 0x14007e2cf
call qword [sym.imp.OPENGL32.dll_glEnable]
mov edx, dword [rbp - 0x79]
mov ecx, dword [rbp - 0x75]
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov r8d, dword [rbp - 0x39]
test r8d, r8d
je 0x14007e2c4
mov edx, dword [rbp - 0x71]
mov ecx, 0x8c2a
call qword [0x1403be0b8]
mov ecx, dword [rbp - 0x75]
call qword [sym.imp.OPENGL32.dll_glDisable]
jmp 0x14007e2ef
mov edx, dword [rbp - 0x79]
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov r8d, dword [rbp - 0x39]
test r8d, r8d
je 0x14007e2ef
mov edx, dword [rbp - 0x71]
mov ecx, 0x8c2a
call qword [0x1403be0b8]
cmp byte [rbx + 4], 0
je 0x14007e30f
mov rdx, rsi
mov rcx, rbx
call fcn.14007b590
cmp eax, 0xffffffff
je 0x14007e30f
mov edx, edi
mov ecx, eax
call qword [0x1403bdcf8]
mov ecx, 0x84c0
call qword [0x1403bd850]
nop
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x14007e350
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007e350
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14007e350
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400be7c0
add rsp, 0xd8
pop rdi
pop rsi
pop rbx
pop rbp
ret