Function at 0x424b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x5c], edi
test eax, eax
je 0x424bc2
cmp dword [0x5fc8dc], 0
je 0x424bc2
fld dword [ebp + 0xc]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0x14
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
push esi
mulss xmm0, dword [0x58c850]
mov dword [ebp - 0x58], 0
movss dword [ebp - 0x74], xmm0
test eax, eax
je 0x424ca3
mov esi, edi
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x424bf0
sub esi, ecx
xor ecx, ecx
lea eax, [esi + esi*2]
shl eax, 2
mov dword [ebp - 0x1c], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x424c3a
push dword [ebp - 0x2c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
inc dword [0x5eb5a8]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x424c75
push dword [ebp - 0x2c]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
inc dword [0x5eb5a8]
lea esi, [esi + esi*2]
shl esi, 3
push esi
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x424c9e
push esi
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
inc dword [0x5eb5a8]
mov esi, dword [ebp - 0x44]
jmp 0x424cb5
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], eax
movss xmm0, dword [ebp + 0x10]
subss xmm0, dword [0x5c69b0]
push 0xde1
movss dword [ebp + 0x10], xmm0
call dword [sym.imp.OPENGL32.dll_glEnable]
push dword [ebx]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glBindTexture]
call dword [sym.imp.OPENGL32.dll_glGetError]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x424d82
cmp dword [ebx], 0
je 0x424d04
push ebx
push 1
call dword [sym.imp.OPENGL32.dll_glDeleteTextures]
dec dword [0x5eb5a4]
mov eax, dword [ebx + 0x10]
mov esi, dword [sym.imp.MSVCR110.dll_free]
test eax, eax
je 0x424d1d
push eax
call esi
add esp, 4
dec dword [0x5eb5a8]
mov ecx, ebx
mov dword [ebx + 0x10], 0
call fcn.00425a70
cmp dword [ebp + 0x18], 0
je 0x424d6a
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x424d44
push eax
call esi
add esp, 4
dec dword [0x5eb5a8]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x424d57
push eax
call esi
add esp, 4
dec dword [0x5eb5a8]
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x424d6a
push edi
call esi
add esp, 4
dec dword [0x5eb5a8]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glDisable]
mov eax, dword [ebp - 0x2c]
mov dword [0x5eb590], eax
jmp 0x4256a7
cmp byte [edi], 0
mov dword [ebp - 0x54], 0
je 0x42556e
mov ecx, dword [ebp - 0x34]
lea eax, [esi + 0xc]
add ecx, 2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
mov ecx, esi
lea edx, [eax + 8]
sub ecx, eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov al, byte [edi]
cmp al, 0x80
jae 0x424dbe
mov esi, 1
jmp 0x424e24
cmp al, 0xc0
jae 0x424dca
add edi, 2
jmp 0x425562
cmp al, 0xe0
jae 0x424dd5
mov esi, 2
jmp 0x424e24
cmp al, 0xf0
sbb esi, esi
add esi, 4
lea esp, [esp]
cmp esi, 0xc
jge 0x424e24
cmp byte [esi + edi], 0xe0
jne 0x424e24
mov al, byte [esi + edi + 1]
cmp al, 0xb8
jne 0x424e0c
cmp byte [esi + edi + 2], 0xb1
je 0x424e1c
cmp al, al
jne 0x424e0c
mov cl, byte [esi + edi + 2]
cmp cl, 0xb3
jb 0x424e0c
cmp cl, 0xba
jbe 0x424e1c
cmp al, 0xb9
jne 0x424e24
mov al, byte [esi + edi + 2]
cmp al, 0x87
jb 0x424e24
cmp al, 0x8e
ja 0x424e24
add esi, 3
cmp esi, 3
jge 0x424de0
push esi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push edi
push eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call sub.MSVCR110.dll_memcpy
movzx edx, byte [ebp - 0x11]
movzx eax, byte [ebp - 0x12]
movzx ecx, byte [ebp - 9]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0x13]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0x14]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
add esp, 0xc
movsx edi, word [ebx + eax*2 + 0x14]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x68], ecx
cmp edi, 0xffffffff
je 0x424ebb
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x68]
lea eax, [edi + edi*8]
cmp dword [ecx + eax*4], edx
jne 0x424eae
cmp dword [ecx + eax*4 + 4], esi
je 0x424eb8
movsx edi, word [ecx + eax*4 + 0x1c]
cmp edi, 0xffffffff
jne 0x424ea0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x1c], 0
cmp edi, 0xffffffff
jne 0x4252d2
mov eax, dword [ebx + 8]
imul eax, dword [0x5e1850]
movsx edi, word [ebx + 0x216]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x18], eax
call fcn.004300b0
cmp eax, 0xb
jne 0x424f1b
mov eax, dword [ebp - 0x18]
lea ecx, [eax + eax*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
imul eax, dword [0x5e1850]
mov ecx, eax
imul ecx, eax
shl ecx, 2
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.MSVCR110.dll_malloc]
mov edx, eax
add esp, 4
mov dword [ebp - 0x30], edx
test edx, edx
je 0x424f5d
push dword [ebp - 0x28]
push 0
push edx
call sub.MSVCR110.dll_memset
mov edx, dword [ebp - 0x30]
add esp, 0xc
inc dword [0x5eb5a8]
cmp byte [ebp - 0x14], 0xee
jne 0x425031
cmp byte [ebp - 0x13], 0x81
jne 0x425031
mov al, byte [ebp - 0x12]
cmp al, 0x80
jb 0x425031
mov ecx, dword [ebx + 0x21c]
movzx eax, al
sub ecx, 0xffffff80
cmp eax, ecx
jge 0x425031
push dword [ebp - 0x28]
push 0
push edx
call sub.MSVCR110.dll_memset
movzx ecx, byte [ebp - 0x12]
mov edx, dword [ebx + 8]
add ecx, 0xffffff80
imul ecx, edx
imul ecx, edx
imul edx, dword [0x5e1850]
imul ecx, dword [0x5e1850]
imul ecx, dword [0x5e1850]
mov eax, dword [ebx + 0x218]
add esp, 0xc
lea eax, [eax + ecx*4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
test edx, edx
jle 0x425029
mov edx, dword [0x5e1850]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx + 8]
imul eax, edx
shl eax, 2
mov ecx, dword [ebp - 0x18]
push eax
mov eax, esi
imul eax, dword [ebx + 8]
imul eax, edx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x30]
push eax
lea eax, [esi + edx]
imul eax, edi
lea eax, [ecx + eax*4]
push eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebx + 8]
mov edx, dword [0x5e1850]
imul eax, edx
inc esi
add esp, 0xc
cmp esi, eax
jl 0x424fe6
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebx + 8]
jmp 0x4251a1
mov eax, dword [ebp - 0x3c]
cmp eax, 0xbe80ee
je 0x425180
cmp eax, 0xbf80ee
je 0x425180
mov ecx, dword [ebp - 0x20]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
dec eax
push eax
mov eax, dword [ebp - 0x18]
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
call fcn.004270e0
mov edx, eax
add esp, 0x10
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x42565a
cmp dword [ebp - 0x20], 0
jle 0x4250ef
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea esi, [edx + 0x14]
mov dword [ebp - 0x18], ebx
lea esp, [esp]
mov ecx, eax
mov edx, esi
mov edi, ebx
mov eax, dword [edx]
mov word [ecx], 0xffff
sar eax, 0x18
mov byte [ecx + 2], 0xff
mov byte [ecx + 3], al
lea ecx, [ecx + 4]
lea edx, [edx + 4]
dec edi
jne 0x425096
mov eax, dword [ebp - 0x28]
lea ecx, [ebx*4]
add eax, ecx
add esi, ecx
dec dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
jne 0x425090
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x50]
lea eax, [ecx - 1]
imul eax, ecx
lea eax, [eax*4 + 3]
add eax, dword [ebp - 0x30]
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 4]
dec ecx
jne 0x4250e0
mov edi, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x3c], 0x20
mov ecx, dword [0x5e1850]
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [edx + 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], eax
divss xmm0, xmm1
cvttss2si esi, xmm0
movd xmm0, dword [edx + 8]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x64], esi
divss xmm0, xmm1
cvttss2si esi, xmm0
movd xmm0, dword [edx + 0xc]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x70], esi
divss xmm0, xmm1
cvttss2si esi, xmm0
movd xmm0, dword [edx + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x60], esi
divss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [ebp - 0x1c], esi
jne 0x425174
cmp dword [ebx + 8], 0xc
jne 0x425174
cmp ecx, 1
mov ecx, 3
cmove eax, ecx
mov dword [ebp - 0x18], eax
push edx
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
jmp 0x4251a4
push dword [ebp - 0x28]
push 0
push edx
call sub.MSVCR110.dll_memset
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x3c], 0xbe80ee
setne al
lea eax, [eax*2 + 1]
mov dword [ebp - 0x18], eax
mov eax, edi
cdq
idiv dword [ebx + 0xc]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
push 0x1401
push 0x1908
push ecx
push ecx
imul eax, ecx
imul edx, ecx
push eax
push edx
push 0
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexSubImage2D]
mov eax, dword [ebx + 0x10]
lea ecx, [edi + edi*8]
shl ecx, 2
mov dword [ebp - 0x20], ecx
movzx edx, byte [eax + ecx]
add edx, 0xa
cmp word [ebx + edx*2], 0xffff
lea edx, [ebx + edx*2]
je 0x425216
mov edi, edi
movsx eax, word [edx]
cmp eax, edi
je 0x42520b
mov edx, dword [ebx + 0x10]
lea eax, [eax + eax*8]
lea edx, [edx + eax*4]
add edx, 0x1c
cmp word [edx], 0xffff
jne 0x4251f0
jmp 0x425216
mov eax, dword [ebx + 0x10]
mov ax, word [eax + ecx + 0x1c]
mov word [edx], ax
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x3c]
movd xmm0, dword [ebp - 0x18]
movzx edx, al
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [eax + ecx], esi
mov eax, dword [ebx + 0x10]
mov esi, dword [ebp - 0x68]
mov dword [eax + ecx + 4], esi
mov ecx, dword [ebx + 0x10]
mov ax, word [ebx + edx*2 + 0x14]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov word [ecx + ebx + 0x1c], ax
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
movss dword [eax + ecx + 0x18], xmm0
movd xmm0, dword [ebp - 0x64]
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [eax + ecx + 8], xmm0
movd xmm0, dword [ebp - 0x70]
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [eax + ecx + 0xc], xmm0
movd xmm0, dword [ebp - 0x60]
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [eax + ecx + 0x10], xmm0
movd xmm0, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [eax + ecx + 0x14], xmm0
mov eax, dword [ebp - 0x30]
mov word [ebx + edx*2 + 0x14], di
test eax, eax
je 0x4252b9
push eax
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
dec dword [0x5eb5a8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + edx + 0x1e]
cmp ax, 0xffff
jne 0x4252e6
lea eax, [ebx + 0x214]
jmp 0x4252f0
mov eax, dword [ebx + 0x10]
lea edx, [edi + edi*8]
shl edx, 2
cvttss2si eax, dword [eax + edx + 0x18]
mov dword [ebp - 0x18], eax
jmp 0x4252bc
cwde
lea eax, [eax + eax*8]
lea eax, [eax + 8]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx + edx + 0x20]
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + edx + 0x20]
cmp ax, 0xffff
jne 0x425314
lea eax, [ebx + 0x216]
jmp 0x425321
cwde
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x1e]
add eax, ecx
movss xmm5, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + edx + 0x1e]
mov ecx, dword [ebp - 0x1c]
mov word [ecx], ax
mov eax, dword [ebx + 0x10]
or ecx, 0xffffffff
cmp dword [ebp + 0x18], 0
mov word [eax + edx + 0x1e], cx
movzx eax, word [ebx + 0x214]
mov ecx, dword [ebx + 0x10]
mov word [ecx + edx + 0x20], ax
movsx eax, word [ebx + 0x214]
mov ecx, dword [ebx + 0x10]
lea eax, [eax + eax*8]
mov word [ecx + eax*4 + 0x1e], di
mov word [ebx + 0x214], di
je 0x42554c
cmp byte [ebp - 0x14], 0xe0
mov ecx, dword [ebx + 0x10]
movss xmm3, dword [ebp + 0x10]
subss xmm3, dword [ecx + edx + 0xc]
movaps xmm4, xmm5
subss xmm4, dword [ecx + edx + 8]
jne 0x4253b8
mov al, byte [ebp - 0x13]
cmp al, 0xb8
jne 0x425610
mov al, byte [ebp - 0x12]
cmp al, 0xb1
je 0x425625
cmp al, 0xb4
jb 0x4253b0
cmp al, 0xb7
jbe 0x425625
cmp al, 0xb8
jb 0x4253b8
cmp al, 0xba
jbe 0x4253c1
cvttss2si eax, dword [ecx + edx + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
movss dword [eax - 4], xmm3
movss dword [eax - 8], xmm4
movss dword [eax], xmm4
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp + 0x14]
addss xmm0, xmm3
mov ecx, dword [ebp - 0x38]
movss dword [eax + 4], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [eax + 8], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [eax + 0xc], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss dword [eax + 0x10], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
movss dword [eax + 0x14], xmm0
movd xmm0, dword [ebx + 4]
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x24], xmm3
movss dword [eax + 0x20], xmm4
mov ebx, dword [ebp + 0x14]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm4
movss xmm4, dword [ebp - 0x74]
movss dword [eax + 0x18], xmm0
mov eax, edx
sar eax, 0x18
mov byte [ecx - 2], al
sar edx, 0x10
mov byte [ecx - 1], dl
mov ecx, dword [ebp + 0x14]
mov byte [esi + 2], al
mov byte [esi + 6], al
mov byte [esi + 0xa], al
mov byte [esi + 0xe], al
mov byte [esi + 0x12], al
sar ecx, 8
mov eax, esi
mov byte [esi], cl
mov byte [eax + 0x14], cl
mov byte [eax + 0x13], dl
mov byte [esi + 4], cl
mov byte [esi + 8], cl
mov byte [esi + 0xc], cl
mov byte [esi + 0x10], cl
mov eax, ebx
mov ecx, esi
mov byte [esi + 1], bl
mov byte [ecx + 0x15], al
mov byte [esi + 3], dl
mov byte [esi + 5], bl
mov byte [esi + 7], dl
mov byte [esi + 9], bl
mov byte [esi + 0xb], dl
mov byte [esi + 0xd], bl
mov byte [esi + 0xf], dl
mov byte [esi + 0x11], bl
mov ebx, dword [ebp - 0x50]
mov eax, edi
cdq
idiv dword [ebx + 0xc]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
movaps xmm3, xmm2
mulss xmm3, xmm4
movaps xmm1, xmm0
movss dword [eax - 0xc], xmm3
addss xmm0, dword [0x5c69b0]
addss xmm2, dword [0x5c69b0]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
inc dword [ebp - 0x58]
mulss xmm1, xmm4
mulss xmm0, xmm4
mulss xmm2, xmm4
movss dword [esi + edx], xmm3
mov esi, dword [ebp - 0x24]
add ecx, 0x18
add edx, 0x30
movss dword [eax - 8], xmm1
movss dword [eax], xmm0
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm2
movss dword [eax + 0x10], xmm0
movss dword [eax + 0x14], xmm2
movss dword [eax + 0x18], xmm1
movss dword [eax + 0x1c], xmm3
movss dword [eax + 0x20], xmm1
add eax, 0x30
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], eax
movd xmm0, dword [ebp - 0x18]
mov edi, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
add edi, esi
addss xmm0, xmm5
movss dword [ebp + 0xc], xmm0
cmp byte [edi], 0
mov dword [ebp - 0x5c], edi
jne 0x424db1
cmp dword [ebp + 0x18], 0
je 0x42569c
mov ebx, dword [ebp - 0x40]
push ebx
push 0
push 0x1406
push 2
call dword [sym.imp.OPENGL32.dll_glVertexPointer]
mov esi, dword [sym.imp.OPENGL32.dll_glEnableClientState]
push 0x8074
call esi
push dword [ebp - 0x34]
push 0
push 0x1401
push 4
call dword [sym.imp.OPENGL32.dll_glColorPointer]
push 0x8076
call esi
mov edi, dword [ebp - 0x44]
push edi
push 0
push 0x1406
push 2
call dword [sym.imp.OPENGL32.dll_glTexCoordPointer]
push 0x8078
call esi
mov eax, dword [ebp - 0x58]
lea esi, [eax + eax*2]
add esi, esi
push esi
push 0
push 4
call dword [sym.imp.OPENGL32.dll_glDrawArrays]
add dword [0x5eb5ac], esi
mov esi, dword [sym.imp.OPENGL32.dll_glDisableClientState]
push 0x8078
call esi
push 0x8076
call esi
test ebx, ebx
je 0x425673
push ebx
mov ebx, dword [sym.imp.MSVCR110.dll_free]
call ebx
add esp, 4
dec dword [0x5eb5a8]
jmp 0x425679
cmp al, 0xb9
jne 0x4253b8
mov al, byte [ebp - 0x12]
add al, 0x79
cmp al, 7
ja 0x4253b8
movd xmm1, dword [ebp - 0x54]
movss xmm0, dword [ecx + edx + 0x14]
subss xmm0, dword [ecx + edx + 0x10]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [ecx + edx + 0x10]
addss xmm0, xmm3
movaps xmm3, xmm0
jmp 0x4253be
fld dword [0x5c69ec]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x42568c
push eax
call ebx
add esp, 4
dec dword [0x5eb5a8]
test edi, edi
je 0x42569c
push edi
call ebx
add esp, 4
dec dword [0x5eb5a8]
push 0xde1
call dword [sym.imp.OPENGL32.dll_glDisable]
mov ecx, dword [ebp - 4]
fld dword [ebp + 0xc]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 0x14