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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xc8
mov ebx, dword [ecx]
mov dword [ebp - 0x88], ebx
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xac], ecx
test ecx, ecx
je 0x6c2568e1
mov ebx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x644]
test eax, eax
jne 0x6c256cf9
lea eax, [esi*8]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + edx*4 + 0x64]
add edx, eax
mov dword [ebp - 0xa0], edx
add eax, dword [ebx + 0x640]
mov edx, dword [eax]
mov dword [ebp - 0x94], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x84], ecx
add eax, 8
mov dword [ebp - 0x90], eax
movzx esi, dl
shl esi, 5
add esi, dword [ebx + 0x18]
lea edi, [ebx + 0x580]
add esi, 0x10
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov cl, 9
mov edi, eax
mov esi, 0x6c482f80
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], 1
lea edx, [ebp - 0x28]
mov dword [ebp - 0x78], edx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
test byte [ebx + 0x624], 1
jne 0x6c256810
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov edx, dword [ebp - 0x98]
test dword [ebx + 0x630], edx
je 0x6c2561f4
mov eax, dword [ebx + 0x10]
mov eax, dword [ecx + eax*4 + 0x70]
mov ecx, dword [ebx + 0x628]
cmp eax, ecx
je 0x6c255b10
mov dword [ebx + 0x628], eax
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
mov ecx, dword [ebx + 0x4c8]
lea edx, [ecx + edx*4]
mov eax, dword [edx]
mov dword [esp], eax
call dword [0x6c4542f0]
push ebx
mov ecx, 9
mov edi, dword [ebp - 0x74]
mov esi, 0x6c482f80
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov dword [ebx + 0x650], 0
mov ecx, dword [ebx + 0x628]
mov dword [ebp - 0xa8], 0xffffffff
mov eax, 1
shl eax, cl
mov edx, dword [ebp - 0x88]
test dword [edx + 0x6c], eax
jne 0x6c2568f0
mov eax, dword [ebx + 0x4cc]
sar eax, cl
test al, 1
je 0x6c255de7
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov edx, dword [eax + 0x14]
test edx, edx
js 0x6c255b94
add ebx, 0x518
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], edx
call dword [0x6c45434c]
sub esp, 0x10
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edi, dword [ebx + 0x4c8]
lea eax, [edi + eax*4]
mov edx, dword [eax + 0x18]
test edx, edx
js 0x6c255bef
mov eax, dword [ebx + 0x56c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x568]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x564]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x560]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x6c454360]
sub esp, 0x14
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov esi, dword [ebx + 0x4c8]
lea eax, [esi + eax*4]
mov edx, dword [eax + 0x34]
test edx, edx
js 0x6c255c50
fld dword [ebx + 0x674]
fld dword [ebx + 0x670]
mov eax, dword [ebx + 0x66c]
mov dword [esp + 0x10], eax
fld st(1)
fsub st(1)
fdivr dword [0x6c3695b8]
fstp dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 8]
fstp dword [esp + 4]
mov dword [esp], edx
call dword [0x6c454360]
sub esp, 0x14
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
fld dword [ebx + 0x66c]
fldz
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x6c255cbb
mov edx, dword [eax + 0x38]
test edx, edx
js 0x6c255cbb
mov eax, dword [ebx + 0x68c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x688]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x684]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x680]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x6c454360]
sub esp, 0x14
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edi, dword [ebx + 0x4c8]
lea eax, [edi + eax*4]
mov dword [ebx + 0x634], 0xffffffff
mov dword [ebx + 0x638], 0xffffffff
mov edx, dword [eax + 0x44]
test edx, edx
js 0x6c255d9d
mov eax, dword [ebx + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x6c454364]
sub esp, 0x10
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 4], edx
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov edi, dword [eax + 0x4c8]
lea edx, [edi + edx*4]
mov eax, dword [edx + 0x48]
mov dword [esp], eax
call dword [0x6c454364]
sub esp, 0x10
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 4], edx
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov ecx, dword [eax + 0x4c8]
lea edx, [ecx + edx*4]
mov eax, dword [edx + 0x50]
mov dword [esp], eax
call dword [0x6c454364]
sub esp, 0x10
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov esi, dword [ebx + 0x4c8]
lea eax, [esi + eax*4]
mov eax, dword [eax + 0x58]
test eax, eax
js 0x6c255dda
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 4]
mov dword [esp + 8], edx
mov edx, dword [ebx]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebx + 0x628]
mov eax, 0xfffffffe
rol eax, cl
and dword [ebx + 0x4cc], eax
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [eax + ecx + 4]
mov edx, eax
and edx, 0x140
cmp edx, dword [ebx + 0x62c]
je 0x6c255e94
mov dword [ebx + 0x62c], edx
test ah, 1
jne 0x6c256c20
test al, 0x40
je 0x6c256aec
mov dword [esp + 4], 1
mov dword [esp], 1
call sub.OPENGL32.DLL_glBlendFunc
sub esp, 8
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov ecx, dword [ebx + 0x4c8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0x34]
test eax, eax
js 0x6c255e94
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
nop
mov esi, dword [ebx + 0x624]
test esi, 1
je 0x6c256a38
mov edi, dword [ebx + 0x14]
mov ecx, dword [ebp - 0x9c]
add ecx, edi
mov eax, dword [ebx + 0x61c]
shr eax, 6
xor edx, edx
div dword [ecx + 0x24]
add edx, dword [ecx + 0x14]
imul edx, dword [ebx + 0x5e4]
mov eax, dword [ebx + 0x5f0]
mov eax, dword [eax + edx]
cmp dword [ebx + 0x650], eax
je 0x6c255fbd
mov dword [ebx + 0x650], eax
cmp dword [ebx + 0x620], 0x84c0
je 0x6c255f17
mov dword [esp], 0x84c0
call dword [0x6c45438c]
push eax
mov dword [ebx + 0x620], 0x84c0
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x650]
mov dword [esp + 4], eax
mov dword [esp], 0xde1
call sub.OPENGL32.DLL_glBindTexture
sub esp, 8
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
cmp dword [ebx + 0x620], 0x84c0
je 0x6c255f60
mov dword [esp], 0x84c0
call dword [0x6c45438c]
push eax
mov dword [ebx + 0x620], 0x84c0
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov eax, dword [ebp - 0x9c]
add eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x5c]
mov dword [esp + 0xc], ecx
fld dword [eax + 0x10]
fdiv dword [eax + 0xc]
fstp dword [esp + 8]
mov edx, dword [ebx + 0x61c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6c25181c
mov edx, eax
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x6c256b78
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
jmp 0x6c255fa8
fstp st(0)
fstp st(0)
cmp dword [ebp - 0xa8], edx
jne 0x6c256a84
mov esi, dword [ebx + 0x624]
mov edi, dword [ebx + 0x14]
and esi, 4
je 0x6c255fd3
mov eax, dword [ebp - 0x9c]
test byte [edi + eax + 4], 1
je 0x6c256cd4
mov eax, dword [ebx + 0x628]
lea edx, [eax + eax*2]
shl edx, 3
sub edx, eax
mov esi, dword [ebx + 0x4c8]
lea edx, [esi + edx*4]
mov eax, dword [edx + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x61c]
mov dword [esp + 4], eax
add edi, dword [ebp - 0x9c]
mov dword [esp], edi
call fcn.6c2516dc
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x30]
test eax, eax
js 0x6c256076
mov edx, dword [ebp - 0x9c]
add edx, dword [ebx + 0x14]
mov ecx, dword [edx + 0xcc]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 0xc8]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 0xc4]
mov dword [esp + 8], ecx
mov edx, dword [edx + 0xc0]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov ecx, dword [ebp - 0x9c]
test byte [ebx + 0x624], 2
je 0x6c2561f1
add ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x61c]
shr eax, 6
xor edx, edx
div dword [ecx + 0x48]
add edx, dword [ecx + 0x38]
imul edx, dword [ebx + 0x5e4]
mov eax, dword [ebx + 0x5f0]
mov eax, dword [eax + edx]
cmp dword [ebx + 0x654], eax
je 0x6c256192
mov dword [ebx + 0x654], eax
cmp dword [ebx + 0x620], 0x84c2
je 0x6c2560f2
mov dword [esp], 0x84c2
call dword [0x6c45438c]
push edi
mov dword [ebx + 0x620], 0x84c2
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x654]
mov dword [esp + 4], eax
mov dword [esp], 0xde1
call sub.OPENGL32.DLL_glBindTexture
sub esp, 8
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x9c]
add ecx, edx
mov ebx, dword [eax + 0x6c]
cmp dword [ecx + 0x14], ebx
je 0x6c256d45
mov ecx, dword [eax + 0x74]
mov ebx, dword [ebp - 0x9c]
cmp dword [edx + ebx + 0x38], ecx
je 0x6c256bb0
cmp dword [eax + 0x68], 1
je 0x6c256bb0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov ecx, dword [eax + 0x4c8]
lea edx, [ecx + edx*4]
mov eax, dword [edx + 0x4c]
mov dword [esp], eax
call dword [0x6c454364]
sub esp, 0x10
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x54]
test eax, eax
js 0x6c2561f4
mov edx, dword [ecx + 0x84]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
fild dword [ecx + 0x40]
fmul dword [ecx + 0x34]
fstp dword [esp + 8]
fild dword [ecx + 0x3c]
fmul dword [ecx + 0x30]
fstp dword [esp + 4]
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
test byte [ecx + 5], 2
je 0x6c256800
xor eax, eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x80], ecx
test ecx, ecx
jne 0x6c256747
jmp 0x6c2567b4
mov ecx, dword [ebp - 0x94]
movzx edx, ch
cmp edx, dword [ebx + 0x634]
je 0x6c2563a0
mov dword [ebx + 0x634], edx
shl edx, 7
add edx, dword [ebx + 0x1c]
lea esi, [edx + 0x10]
mov ecx, 4
mov edi, dword [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x74]
test ecx, ecx
je 0x6c256300
mov eax, dword [edx + 0x6c]
imul eax, dword [ebx + 0x61c]
add eax, dword [edx + 0x68]
movzx esi, ax
fld dword [0x6c3695b4]
push esi
fimul dword [esp]
pop edi
mov esi, eax
sar esi, 0x10
lea eax, [esi + 1]
and eax, 0x3f
shl ecx, 6
add eax, ecx
fld dword [eax*4 + 0x6c482880]
fmul st(1)
fxch st(1)
fsubr dword [0x6c3695b8]
and esi, 0x3f
add ecx, esi
fmul dword [ecx*4 + 0x6c482880]
faddp st(1)
fmul dword [edx + 0x60]
fadd dword [edx + 0x64]
mov eax, dword [edx + 0x70]
test eax, eax
je 0x6c2562d1
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fmul st(1), st(0)
fxch st(1)
fnstcw word [ebp - 0x6e]
mov ax, word [ebp - 0x6e]
mov ah, 4
mov word [ebp - 0x70], ax
fldcw word [ebp - 0x70]
frndint
fldcw word [ebp - 0x6e]
fdivrp st(1)
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fld1
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
fstp dword [ebp - 0xb4]
movss xmm1, dword [ebp - 0xb4]
shufps xmm1, xmm1, 0
movaps xmm0, xmmword [ebp - 0x38]
mulps xmm0, xmm1
movaps xmmword [ebp - 0x38], xmm0
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov esi, dword [ebx + 0x4c8]
lea eax, [esi + eax*4]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x6c2563b7
mov eax, dword [ebx + 0x5e0]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [0x6c454360]
sub esp, 0x14
mov ebx, dword [ebp - 0x88]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov edx, dword [ecx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov ebx, dword [ecx + 0x4c8]
lea eax, [ebx + eax*4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x94]
shr edx, 0x10
and edx, 0xff
cmp edx, dword [ebx + 0x638]
je 0x6c25653f
mov dword [ebx + 0x638], edx
shl edx, 7
add edx, dword [ebx + 0x1c]
lea esi, [edx + 0x10]
mov ecx, 4
mov edi, dword [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x74]
test esi, esi
je 0x6c25649d
mov ecx, dword [edx + 0x6c]
imul ecx, dword [ebx + 0x61c]
add ecx, dword [edx + 0x68]
movzx edi, cx
fld dword [0x6c3695b4]
push edi
fimul dword [esp]
pop edi
mov edi, ecx
sar edi, 0x10
lea ecx, [edi + 1]
and ecx, 0x3f
shl esi, 6
add ecx, esi
fld dword [ecx*4 + 0x6c482880]
fmul st(1)
fxch st(1)
fsubr dword [0x6c3695b8]
and edi, 0x3f
add esi, edi
fmul dword [esi*4 + 0x6c482880]
faddp st(1)
fmul dword [edx + 0x60]
fadd dword [edx + 0x64]
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x6c25646e
mov dword [ebp - 0x6c], ecx
fild dword [ebp - 0x6c]
fmul st(1), st(0)
fxch st(1)
fnstcw word [ebp - 0x6e]
mov cx, word [ebp - 0x6e]
mov ch, 4
mov word [ebp - 0x70], cx
fldcw word [ebp - 0x70]
frndint
fldcw word [ebp - 0x6e]
fdivrp st(1)
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fld1
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
fstp dword [ebp - 0xb4]
movss xmm1, dword [ebp - 0xb4]
shufps xmm1, xmm1, 0
movaps xmm0, xmmword [ebp - 0x28]
mulps xmm0, xmm1
movaps xmmword [ebp - 0x28], xmm0
mov edi, dword [eax + 0x40]
test edi, edi
js 0x6c25653f
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 8], ecx
mov edx, dword [edx]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x3c]
inc eax
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov ebx, dword [ebp - 0x88]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov edx, dword [ecx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov ebx, dword [ecx + 0x4c8]
lea eax, [ebx + eax*4]
mov eax, dword [eax + 0x40]
inc eax
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov esi, dword [ebx + 0x4c8]
lea eax, [esi + eax*4]
mov edx, dword [eax + 0x20]
test edx, edx
js 0x6c256794
movzx esi, byte [ebp - 0x94]
cmp esi, dword [ebx + 0x63c]
je 0x6c25667d
mov dword [ebx + 0x63c], esi
shl esi, 5
add esi, dword [ebx + 0x18]
lea edi, [ebx + 0x580]
add esi, 0x10
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x58c]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x588]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x584]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x580]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [0x6c454360]
sub esp, 0x14
mov ebx, dword [0x6c454350]
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x60]
mov edx, dword [eax + 0x63c]
test edx, edx
jne 0x6c2567f4
lea edx, [eax + 0x5f8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov edi, dword [eax + 0x4c8]
lea edx, [edi + edx*4]
mov eax, dword [edx + 0x28]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
cmp dword [ebx + 0x620], 0x84c3
je 0x6c25663c
mov dword [esp], 0x84c3
call dword [0x6c45438c]
push esi
mov dword [ebx + 0x620], 0x84c3
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebx + 0x63c]
shl eax, 5
add eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov dword [esp], 0x8513
call sub.OPENGL32.DLL_glBindTexture
sub esp, 8
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov ecx, dword [ebx + 0x4c8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0x24]
test eax, eax
js 0x6c256794
mov esi, dword [0x6c454360]
mov edx, dword [ebx + 0x63c]
test edx, edx
je 0x6c2567a8
mov edx, 0x3f800000
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [ecx + 0x78]
mov dword [esp + 4], edx
mov dword [esp], eax
call esi
sub esp, 0x14
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x630]
and eax, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x84]
cmp dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x80]
cmovae ebx, dword [ebp - 0x84]
sub dword [ebp - 0x80], ebx
sub dword [ebp - 0x84], ebx
test eax, eax
jne 0x6c256760
add dword [ebp - 0x8c], ebx
mov eax, dword [ebp - 0x84]
test eax, eax
jne 0x6c256737
mov ebx, dword [ebp - 0x90]
mov ebx, dword [ebx]
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0x90]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x84], ebx
add dword [ebp - 0x90], 8
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x6c2567b4
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov eax, dword [ebp - 0x98]
test dword [ebx + 0x630], eax
jne 0x6c256220
xor eax, eax
jmp 0x6c2566e3
mov edx, dword [ebp - 0x8c]
lea eax, [edx + edx*2]
shl eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1403
lea eax, [ebx + ebx*2]
mov dword [esp + 4], eax
mov dword [esp], 4
call sub.OPENGL32.DLL_glDrawElements
sub esp, 0x10
jmp 0x6c256703
mov eax, dword [ebp - 0x98]
and eax, dword [ebx + 0x630]
jmp 0x6c2566e3
mov edx, dword [ebp - 0xa4]
jmp 0x6c2566a1
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x6c2567cd
mov ecx, 9
mov edi, dword [ebp - 0x74]
mov esi, 0x6c482f80
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x8c]
cmp dword [ebp - 0xac], ebx
jle 0x6c2568a4
add dword [ebp - 0xa0], 8
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
jmp 0x6c255a6c
mov edx, 0x6c482f80
jmp 0x6c2565d0
mov edx, 0x3f800000
mov dword [ebp - 0xa4], edx
jmp 0x6c256206
mov edx, dword [ebp - 0x80]
lea eax, [edx + edx*2]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov esi, dword [ecx + 4]
and esi, 0x1cc
mov eax, 1
cmove esi, eax
cmp dword [ebp - 0x98], esi
je 0x6c255a98
xor ebx, ebx
test esi, 0x1c8
sete bl
mov dword [esp], ebx
call sub.OPENGL32.DLL_glDepthMask
push eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 1
call sub.OPENGL32.DLL_glColorMask
sub esp, 0x10
test esi, 0xc8
jne 0x6c256caa
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
mov dword [ebp - 0x98], esi
jmp 0x6c255a98
cmp dword [ebp - 0x98], 1
je 0x6c2568e1
mov dword [esp], 1
call sub.OPENGL32.DLL_glDepthMask
push edi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 1
call sub.OPENGL32.DLL_glColorMask
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebx + 0x4d0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov ecx, dword [ebx + 0x4c8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [0x6c45434c]
sub esp, 0x10
mov ebx, dword [ebp - 0x88]
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + 0x4d4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov ecx, dword [edx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov esi, dword [edx + 0x4c8]
lea eax, [esi + eax*4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [0x6c45434c]
sub esp, 0x10
mov edx, dword [ebx + 0x60]
lea eax, [edx + 0x4d8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov ecx, dword [edx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edi, dword [edx + 0x4c8]
lea eax, [edi + eax*4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [0x6c45434c]
sub esp, 0x10
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x1c]
test eax, eax
js 0x6c256a20
mov dword [ebx + 0x63c], 0xffffffff
mov edx, dword [ebx + 0x578]
mov dword [esp + 0xc], edx
mov edx, dword [ebx + 0x574]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x570]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x6c454364]
sub esp, 0x10
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov ecx, dword [ebx + 0x628]
mov eax, 0xfffffffe
rol eax, cl
mov edx, dword [ebp - 0x88]
and dword [edx + 0x6c], eax
jmp 0x6c255b26
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov ecx, dword [ebx + 0x4c8]
lea eax, [ecx + eax*4]
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
jmp 0x6c256009
lea eax, [ebp - 0x5c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov ecx, dword [ebx + 0x628]
lea eax, [ecx + ecx*2]
shl eax, 3
sub eax, ecx
mov edi, dword [ebx + 0x4c8]
lea eax, [edi + eax*4]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [ebp - 0xb0], edx
call dword [0x6c454350]
sub esp, 0x10
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov esi, dword [ebx + 0x624]
mov edi, dword [ebx + 0x14]
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xa8], edx
jmp 0x6c255fbd
mov dword [esp + 4], 0x303
mov dword [esp], 0x302
call sub.OPENGL32.DLL_glBlendFunc
sub esp, 8
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov edx, dword [ebx + 0x4c8]
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x34]
test eax, eax
js 0x6c255e94
fld dword [ebx + 0x674]
fld dword [ebx + 0x670]
mov edx, dword [ebx + 0x66c]
mov dword [esp + 0x10], edx
fld st(1)
fsub st(1)
fdivr dword [0x6c3695b8]
fstp dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 8]
fstp dword [esp + 4]
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
jmp 0x6c255e94
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x9c]
add eax, dword [ebx + 0x14]
fld dword [eax + 0xc]
fld1
fld dword [eax + 0x10]
fxch st(2)
fcomi st(1)
je 0x6c256c0c
fstp st(1)
fmul dword [ebp - 0x5c]
fstp dword [ebp - 0x5c]
fmul dword [ebp - 0x4c]
fstp dword [ebp - 0x4c]
mov edx, 1
jmp 0x6c255fa8
fld dword [0x6c369668]
fld dword [eax + 0x58]
fmul st(1)
fstp dword [esp + 0xc]
fld dword [eax + 0x54]
fmul st(1)
fstp dword [esp + 8]
fmul dword [eax + 0x50]
fstp dword [esp + 4]
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov ebx, dword [eax + 0x4c8]
lea edx, [ebx + edx*4]
mov eax, dword [edx + 0x4c]
mov dword [esp], eax
call dword [0x6c454364]
sub esp, 0x10
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
jmp 0x6c256192
fxch st(2)
fcomi st(1)
fstp st(1)
je 0x6c255fa4
fxch st(1)
jmp 0x6c256b9a
mov dword [esp + 4], 0x300
mov dword [esp], 0
call sub.OPENGL32.DLL_glBlendFunc
sub esp, 8
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov edx, dword [ebx + 0x628]
lea eax, [edx + edx*2]
shl eax, 3
sub eax, edx
mov esi, dword [ebx + 0x4c8]
lea eax, [esi + eax*4]
mov eax, dword [eax + 0x34]
test eax, eax
js 0x6c255e94
fld dword [ebx + 0x674]
fld dword [ebx + 0x670]
mov edx, dword [ebx + 0x66c]
mov dword [esp + 0x10], edx
fld st(1)
fsub st(1)
fdivr dword [0x6c3695b8]
fstp dword [esp + 0xc]
fxch st(1)
fstp dword [esp + 8]
fstp dword [esp + 4]
mov dword [esp], eax
call dword [0x6c454360]
sub esp, 0x14
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
jmp 0x6c255e94
mov dword [esp], 0xbc0
call sub.OPENGL32.DLL_glDisable
push edi
mov eax, dword [ebp - 0x88]
mov ebx, dword [eax + 0x60]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [ebx + 0x14]
mov dword [ebp - 0x98], esi
jmp 0x6c255a98
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
jmp 0x6c256a58
mov eax, dword [ebx + 0x10]
lea eax, [eax*8 + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1406
mov dword [esp + 4], 4
mov dword [esp], 1
call dword [0x6c4542cc]
sub esp, 0x18
mov edx, dword [ebp - 0x88]
mov ebx, dword [edx + 0x60]
jmp 0x6c2559dc
fld dword [ebp - 0x5c]
fmul dword [ecx + 0x30]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x4c]
fmul dword [ecx + 0x34]
fstp dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov ecx, dword [eax + 0x628]
lea edx, [ecx + ecx*2]
shl edx, 3
sub edx, ecx
mov esi, dword [eax + 0x4c8]
lea edx, [esi + edx*4]
mov eax, dword [edx + 0x10]
mov dword [esp], eax
call dword [0x6c454350]
sub esp, 0x10
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x14]
mov dword [ebp - 0xa8], 1
jmp 0x6c256125