Function at 0x140042070
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x1c0
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r14d, r9d
mov ebp, r8d
mov rdi, rdx
mov rbx, rcx
mov eax, dword [rcx + 0xc]
cmp eax, 0xde1
je 0x1400420ad
cmp eax, 0x84f5
jne 0x1400420c4
xorps xmm0, xmm0
comiss xmm0, dword [rdx + 0x1c]
jae 0x14004236a
comiss xmm0, dword [rdx + 0x20]
jae 0x14004236a
add rcx, 8
call fcn.140041500
mov eax, dword [rbx + 0xc]
cmp eax, 0x84f5
jne 0x140042103
call fcn.14000d140
test al, al
je 0x140042100
movss xmm1, dword [rbx + 0x24]
movss dword [rbx + 0x1c], xmm1
movss xmm0, dword [rbx + 0x28]
movss dword [rbx + 0x20], xmm0
movss dword [rbx + 0x14], xmm1
movss dword [rbx + 0x18], xmm0
jmp 0x14004216c
mov eax, dword [rbx + 0xc]
cmp eax, 0xde1
jne 0x14004216c
call fcn.14000d140
movss xmm0, dword [rbx + 0x24]
test al, al
je 0x140042124
movss dword [rbx + 0x1c], xmm0
movss xmm2, dword [rbx + 0x28]
jmp 0x14004214a
cvttss2si ecx, xmm0
call fcn.140089fa0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x1c], xmm0
cvttss2si ecx, dword [rbx + 0x28]
call fcn.140089fa0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rbx + 0x20], xmm2
movss xmm0, dword [rbx + 0x24]
divss xmm0, dword [rbx + 0x1c]
movss dword [rbx + 0x14], xmm0
movss xmm1, dword [rbx + 0x28]
divss xmm1, xmm2
movss dword [rbx + 0x18], xmm1
cmp byte [rbx + 0x60], 0
jne 0x14004217a
mov ecx, dword [rbx + 8]
call fcn.140043960
mov byte [rbx + 0x60], 0
mov dword [rbx + 8], 0
mov byte [rbx + 0x34], 0
lea rdx, [rbx + 8]
mov ecx, 1
call qword [sym.imp.OPENGL32.dll_glGenTextures]
mov eax, dword [rbx + 8]
mov dword [rsp + 0x50], eax
test eax, eax
je 0x140042285
call fcn.140043490
mov r8, rax
mov r9d, dword [rsp + 0x50]
movzx edx, r9b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r10, 0x100000001b3
imul rdx, r10
movzx ecx, byte [rsp + 0x51]
xor rdx, rcx
imul rdx, r10
movzx eax, byte [rsp + 0x52]
xor rdx, rax
imul rdx, r10
movzx eax, byte [rsp + 0x53]
xor rdx, rax
imul rdx, r10
mov rcx, qword [r8 + 0x30]
and rcx, rdx
add rcx, rcx
mov rdx, qword [r8 + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rdi, qword [r8 + 8]
cmp rax, rdi
je 0x140042231
mov rcx, qword [rdx + rcx*8]
cmp r9d, dword [rax + 0x10]
je 0x140042233
nop dword [rax]
cmp rax, rcx
je 0x140042231
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x140042220
jmp 0x140042233
xor eax, eax
test rax, rax
cmovne rdi, rax
call fcn.140043490
cmp rdi, qword [rax + 8]
je 0x140042264
call fcn.140043490
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140040c10
mov rcx, qword [rax]
inc dword [rcx + 0x14]
jmp 0x140042285
call fcn.140043490
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140040c10
mov rcx, qword [rax]
mov dword [rcx + 0x14], 1
mov ecx, dword [rbx + 0xc]
cmp ecx, 0xde1
je 0x14004229c
cmp ecx, 0x84f5
jne 0x140042361
mov edx, dword [rbx + 8]
call qword [sym.imp.OPENGL32.dll_glBindTexture]
cvttss2si eax, dword [rbx + 0x20]
cvttss2si r9d, dword [rbx + 0x1c]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx + 0x10]
xor edx, edx
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glTexImage2D]
movd xmm2, dword [rbx + 0x3c]
cvtdq2ps xmm2, xmm2
mov edx, 0x2800
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
movd xmm2, dword [rbx + 0x38]
cvtdq2ps xmm2, xmm2
mov edx, 0x2801
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
movd xmm2, dword [rbx + 0x40]
cvtdq2ps xmm2, xmm2
mov edx, 0x2802
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
movd xmm2, dword [rbx + 0x44]
cvtdq2ps xmm2, xmm2
mov edx, 0x2803
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glTexParameterf]
call fcn.1400925a0
test al, al
jne 0x140042356
movss xmm2, dword [0x14029a278]
mov edx, 0x2200
mov ecx, 0x2300
call qword [sym.imp.OPENGL32.dll_glTexEnvf]
xor edx, edx
mov ecx, dword [rbx + 0xc]
call qword [sym.imp.OPENGL32.dll_glBindTexture]
mov byte [rbx + 0x34], 1
jmp 0x1400424c3
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 9
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.ofTexture]
movsd qword [rsp + 0x58], xmm0
movzx eax, byte [0x140299f40]
mov byte [rsp + 0x60], al
mov byte [rsp + 0x61], 0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x80]
call fcn.14006c490
nop
lea rbx, [rax + 0x40]
lea rdx, str.allocate__:_ofTextureData_has_0_width_and_or_height:
mov rcx, rbx
call fcn.140006d80
mov rsi, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400423db
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400072b0
movss xmm1, dword [rdi + 0x1c]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rsi, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14004240a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400072b0
lea rdx, [0x1402964a8]
mov rcx, rbx
call fcn.140006d80
mov rsi, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14004243a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400072b0
movss xmm1, dword [rdi + 0x20]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rbx, rax
call fcn.14006ce70
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140042469
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400072b0
nop
lea rcx, [rsp + 0x80]
call fcn.14006c6d0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400424c3
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400424be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400424be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be46c
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400be7c0
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret