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

Disassembly:
sub esp, 0x150
push esi
mov esi, dword [esp + 0x158]
test esi, esi
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0xdc], 0x3f800000
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0x3f800000
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0x3f800000
je 0x45474d
mov eax, dword [0x499454]
push ebx
push ebp
push edi
mov edi, dword [esi + 0x70]
cmp edi, eax
jbe 0x453ce7
mov eax, dword [0x499444]
mov ebx, edi
shl ebx, 4
push ebx
push eax
call fcn.0043ed70
mov ecx, dword [0x499448]
push ebx
push ecx
mov dword [0x499444], eax
call fcn.0043ed70
lea edx, [edi + edi*2]
mov dword [0x499448], eax
mov eax, dword [0x49944c]
shl edx, 2
push edx
push eax
call fcn.0043ed70
mov edx, dword [0x499450]
lea ecx, [edi*8]
push ecx
push edx
mov dword [0x49944c], eax
call fcn.0043ed70
add esp, 0x20
mov dword [0x499450], eax
mov dword [0x499454], edi
mov ecx, dword [esi + 0x70]
mov edi, dword [0x499448]
shl ecx, 4
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x40], 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x70]
mov edi, dword [0x49944c]
lea ecx, [eax + eax*2]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x168]
lea edi, [eax + 0xc]
mov dword [esp + 0x30], edi
mov eax, dword [edi + 8]
test eax, eax
je 0x454286
fld dword [edi]
fcomp dword [0x46c334]
fnstsw ax
test ah, 5
jnp 0x453d6b
fld dword [edi]
fcomp dword [0x46c38c]
fnstsw ax
and eax, 0x4100
je 0x453d6b
fld dword [edi]
fstp dword [esp + 0x24]
jmp 0x453d8a
fld dword [edi]
fcomp dword [0x46c334]
mov dword [esp + 0x24], 0
fnstsw ax
test ah, 5
jnp 0x453d8a
mov dword [esp + 0x24], 0x3f800000
fld dword [edi + 4]
fcomp dword [0x46c334]
fnstsw ax
test ah, 5
jnp 0x45472c
fld dword [edi + 4]
fcomp dword [0x46c38c]
fnstsw ax
and eax, 0x4100
je 0x45472c
fld dword [edi + 4]
fst dword [esp + 0x28]
fcomp dword [0x46c334]
fnstsw ax
test ah, 0x41
jnp 0x454286
mov ecx, dword [edi - 8]
lea edx, [esp + 0x150]
push ecx
push 1
push edx
call fcn.00431410
mov eax, dword [esp + 0x15c]
add esp, 0xc
test eax, eax
je 0x453dfe
mov ebx, dword [esp + 0x158]
test ebx, ebx
je 0x453e00
test byte [ebx + 4], 8
jne 0x453e00
xor ebx, ebx
mov eax, dword [edi - 4]
lea ecx, [esp + 0x140]
push eax
push 1
push ecx
call fcn.00431410
mov eax, dword [esp + 0x14c]
add esp, 0xc
test eax, eax
je 0x453e32
mov ebp, dword [esp + 0x148]
test ebp, ebp
je 0x453e34
test byte [ebp + 4], 8
jne 0x453e34
xor ebp, ebp
test ebx, ebx
je 0x454286
test ebp, ebp
je 0x454286
mov ecx, dword [esi + 0x70]
mov eax, dword [ebx + 0x70]
cmp eax, ecx
jne 0x454286
cmp dword [ebp + 0x70], ecx
jne 0x454286
mov eax, dword [esi + 4]
mov edx, dword [ebx + 4]
and eax, 4
and edx, 4
cmp edx, eax
jne 0x454286
mov edx, dword [ebp + 4]
and edx, 4
cmp edx, eax
jne 0x454286
lea eax, [ebx + 8]
mov edx, dword [ebx + 8]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
lea edx, [ebx + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [edx]
mov dword [esp + 0xb8], eax
fld dword [esp + 0xb8]
mov eax, dword [edx + 4]
fsub dword [esp + 0x34]
mov edx, dword [edx + 8]
mov dword [esp + 0xbc], eax
fld dword [esp + 0xbc]
fsub dword [esp + 0x38]
mov dword [esp + 0xc0], edx
lea eax, [ebp + 8]
fld dword [esp + 0xc0]
fsub dword [esp + 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
fstp dword [esp + 0x64]
fxch st(1)
fmul dword [0x46dc2c]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], edx
lea edx, [ebp + 0x14]
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x5c]
mov eax, dword [edx]
fmul dword [0x46dc2c]
mov dword [esp + 0xd0], eax
mov eax, dword [edx + 4]
mov dword [esp + 0xd4], eax
mov edx, dword [edx + 8]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul dword [0x46dc2c]
mov dword [esp + 0xd8], edx
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x64]
fld dword [esp + 0xd0]
fsub dword [esp + 0x44]
fld dword [esp + 0xd4]
fsub dword [esp + 0x48]
fld dword [esp + 0xd8]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x58]
fxch st(1)
fmul dword [0x46dc2c]
fstp dword [esp + 0x50]
fmul dword [0x46dc2c]
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul dword [0x46dc2c]
fstp dword [esp + 0x58]
jbe 0x4540fa
fld dword [0x46c38c]
fsub dword [esp + 0x24]
xor eax, eax
mov ecx, dword [ebx + 0x68]
xor edi, edi
add ecx, edx
mov di, word [ecx]
mov dword [esp + 0x10], edi
xor edi, edi
fild dword [esp + 0x10]
mov di, word [ecx + 2]
mov dword [esp + 0x10], edi
xor edi, edi
fmul dword [esp + 0x5c]
mov di, word [ecx + 4]
mov ecx, dword [ebp + 0x68]
add ecx, edx
fadd dword [esp + 0x34]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
xor edi, edi
mov di, word [ecx]
fmul dword [esp + 0x60]
fadd dword [esp + 0x38]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
xor edi, edi
mov di, word [ecx + 2]
fmul dword [esp + 0x64]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x70]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
xor edi, edi
mov di, word [ecx + 4]
fmul dword [esp + 0x50]
fadd dword [esp + 0x44]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edi
fmul dword [esp + 0x54]
fadd dword [esp + 0x48]
fstp dword [esp + 0x12c]
fild dword [esp + 0x10]
fmul dword [esp + 0x58]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x130]
fld st(3)
fmul st(3)
fxch st(1)
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0xc4]
fld st(2)
fmul st(1)
fld dword [esp + 0x12c]
fmul dword [esp + 0x24]
faddp st(1)
fstp st(2)
fstp st(0)
fld st(1)
fmul dword [esp + 0x70]
fld dword [esp + 0x130]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0xc4]
fmul dword [esp + 0x28]
fstp dword [esp + 0xc4]
fxch st(1)
fmul dword [esp + 0x28]
mov ecx, dword [0x499448]
add edx, 6
add eax, 0x10
fstp dword [esp + 0xc8]
fmul dword [esp + 0x28]
fld dword [esp + 0xc4]
fadd dword [eax + ecx - 0x10]
fstp dword [eax + ecx - 0x10]
mov ecx, dword [0x499448]
fld dword [esp + 0xc8]
fadd dword [eax + ecx - 0xc]
fstp dword [eax + ecx - 0xc]
mov ecx, dword [0x499448]
fadd dword [eax + ecx - 8]
fstp dword [eax + ecx - 8]
mov ecx, dword [0x499448]
mov dword [eax + ecx - 4], 0x3f800000
mov ecx, dword [esp + 0x2c]
mov edi, dword [esi + 0x70]
inc ecx
cmp ecx, edi
mov dword [esp + 0x2c], ecx
jb 0x453f98
mov edi, dword [esp + 0x30]
fstp st(0)
test byte [esi + 4], 4
je 0x454286
mov ecx, dword [esi + 0x70]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x2c], eax
jbe 0x454286
fld dword [0x46c38c]
fsub dword [esp + 0x24]
xor edi, edi
mov edx, dword [ebx + 0x6c]
lea ecx, [edi + edx]
xor edx, edx
mov dl, byte [ecx]
mov dword [esp + 0x10], edx
xor edx, edx
fild dword [esp + 0x10]
mov dl, byte [ecx + 1]
mov dword [esp + 0x10], edx
xor edx, edx
fmul dword [0x46dc28]
mov dl, byte [ecx + 2]
mov ecx, dword [ebp + 0x6c]
add ecx, edi
fsub dword [0x46c38c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx]
fmul dword [0x46dc28]
fsub dword [0x46c38c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 1]
fmul dword [0x46dc28]
fsub dword [0x46c38c]
fstp dword [esp + 0x1c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [ecx + 2]
mov ecx, dword [0x49944c]
fmul dword [0x46dc28]
fsub dword [0x46c38c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul dword [0x46dc28]
fsub dword [0x46c38c]
fstp dword [esp + 0x138]
fild dword [esp + 0x10]
fmul dword [0x46dc28]
fsub dword [0x46c38c]
fstp dword [esp + 0x13c]
fld st(3)
fmul st(3)
fxch st(1)
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0xdc]
fld st(2)
fmul st(1)
fld dword [esp + 0x138]
fmul dword [esp + 0x24]
faddp st(1)
fstp st(2)
fstp st(0)
fld st(1)
fmul dword [esp + 0x1c]
fld dword [esp + 0x13c]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0xdc]
fmul dword [esp + 0x28]
fstp dword [esp + 0xdc]
fxch st(1)
fmul dword [esp + 0x28]
fstp dword [esp + 0xe0]
fmul dword [esp + 0x28]
fld dword [esp + 0xdc]
fadd dword [eax + ecx]
fstp dword [eax + ecx]
mov ecx, dword [0x49944c]
fld dword [esp + 0xe0]
fadd dword [eax + ecx + 4]
fstp dword [eax + ecx + 4]
mov ecx, dword [0x49944c]
add edi, 3
fadd dword [eax + ecx + 8]
add eax, 0xc
fstp dword [eax + ecx - 4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x70]
inc ecx
cmp ecx, edx
mov dword [esp + 0x2c], ecx
jb 0x454121
mov edi, dword [esp + 0x30]
fstp st(0)
mov eax, dword [esp + 0x40]
add edi, 0x18
dec eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
jne 0x453d38
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x18c]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x18c]
push ecx
push edx
push eax
call fcn.0043e390
mov edi, dword [esp + 0x18c]
lea ecx, [esp + 0x88]
push ecx
push edi
call fcn.0043e110
mov ebx, dword [esp + 0x198]
lea edx, [esp + 0x90]
push edx
push ebx
call fcn.0043e1f0
mov ebp, dword [esp + 0x1a4]
lea eax, [esp + 0x98]
push eax
push ebp
call fcn.0043e2c0
mov edx, dword [esp + 0x1a0]
mov eax, dword [esp + 0x19c]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x19c]
push edx
push eax
push ecx
call fcn.0043e070
lea edx, [esp + 0x120]
push edx
push edi
call fcn.0043e110
add esp, 0x40
lea eax, [esp + 0xe8]
push eax
push ebx
call fcn.0043e1f0
lea ecx, [esp + 0xf0]
push ecx
push ebp
call fcn.0043e2c0
mov eax, dword [esi + 0x70]
add esp, 0x10
xor edx, edx
test eax, eax
jbe 0x454465
xor eax, eax
mov ecx, dword [0x499448]
inc edx
fld dword [eax + ecx]
add eax, 0x10
fstp dword [esp + 0x14]
fld dword [eax + ecx - 0xc]
fstp dword [esp + 0x18]
fld dword [eax + ecx - 8]
fst dword [esp + 0x1c]
fmul dword [esp + 0x98]
fld dword [esp + 0x18]
fmul dword [esp + 0x88]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x78]
faddp st(1)
fadd dword [esp + 0xa8]
fld dword [esp + 0x1c]
fmul dword [esp + 0x9c]
fld dword [esp + 0x18]
fmul dword [esp + 0x8c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
faddp st(1)
fadd dword [esp + 0xac]
fld dword [esp + 0x1c]
fmul dword [esp + 0xa0]
fld dword [esp + 0x18]
fmul dword [esp + 0x90]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
faddp st(1)
fadd dword [esp + 0xb0]
fstp dword [esp + 0x70]
fld dword [esp + 0x1c]
fmul dword [esp + 0xa4]
fld dword [esp + 0x18]
fmul dword [esp + 0x94]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x84]
faddp st(1)
fadd dword [esp + 0xb4]
fstp dword [esp + 0x74]
fxch st(1)
fstp dword [eax + ecx - 0x10]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 0xc]
fld dword [esp + 0x70]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 8]
fld dword [esp + 0x74]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 4]
cmp edx, dword [esi + 0x70]
jb 0x454361
test byte [esi + 4], 4
je 0x454550
mov eax, dword [esi + 0x70]
xor edx, edx
test eax, eax
jbe 0x454550
xor eax, eax
mov ecx, dword [0x49944c]
inc edx
fld dword [eax + ecx]
add eax, 0xc
fstp dword [esp + 0x14]
fld dword [eax + ecx - 8]
fstp dword [esp + 0x18]
fld dword [eax + ecx - 4]
fst dword [esp + 0x1c]
fmul dword [esp + 0x108]
fld dword [esp + 0x18]
fmul dword [esp + 0xf8]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0xe8]
faddp st(1)
fadd dword [esp + 0x118]
fld dword [esp + 0x1c]
fmul dword [esp + 0x10c]
fld dword [esp + 0x18]
fmul dword [esp + 0xfc]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0xec]
faddp st(1)
fadd dword [esp + 0x11c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x110]
fld dword [esp + 0x18]
fmul dword [esp + 0x100]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0xf0]
faddp st(1)
fadd dword [esp + 0x120]
fstp dword [esp + 0x148]
fxch st(1)
fstp dword [eax + ecx - 0xc]
mov ecx, dword [0x49944c]
fstp dword [eax + ecx - 8]
fld dword [esp + 0x148]
mov ecx, dword [0x49944c]
fstp dword [eax + ecx - 4]
cmp edx, dword [esi + 0x70]
jb 0x45447e
mov edx, dword [0x499444]
mov eax, dword [esp + 0x16c]
mov ecx, dword [0x49944c]
push edx
mov edx, dword [0x499448]
push eax
mov eax, dword [esi + 4]
push 0
push ecx
mov ecx, dword [esi + 0x70]
push edx
push eax
push ecx
call fcn.00454760
mov edx, dword [0x499444]
mov eax, dword [0x499448]
mov ecx, dword [esi + 0x70]
push edx
push eax
push ecx
call fcn.00455080
mov eax, dword [esi + 0x70]
add esp, 0x28
xor edx, edx
test eax, eax
jbe 0x4546be
xor eax, eax
mov ecx, dword [0x499448]
inc edx
fld dword [eax + ecx]
add eax, 0x10
fstp dword [esp + 0x14]
fld dword [eax + ecx - 0xc]
fstp dword [esp + 0x18]
fld dword [eax + ecx - 8]
fstp dword [esp + 0x1c]
fld dword [eax + ecx - 4]
fst dword [esp + 0x20]
fmul dword [0x499588]
fld dword [esp + 0x1c]
fmul dword [0x499578]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [0x499568]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x499558]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [0x49958c]
fld dword [esp + 0x1c]
fmul dword [0x49957c]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [0x49956c]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x49955c]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [0x499590]
fld dword [esp + 0x1c]
fmul dword [0x499580]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [0x499570]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x499560]
faddp st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x20]
fmul dword [0x499594]
fld dword [esp + 0x1c]
fmul dword [0x499584]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [0x499574]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x499564]
faddp st(1)
fstp dword [esp + 0x74]
fxch st(1)
fstp dword [eax + ecx - 0x10]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 0xc]
fld dword [esp + 0x70]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 8]
fld dword [esp + 0x74]
mov ecx, dword [0x499448]
fstp dword [eax + ecx - 4]
cmp edx, dword [esi + 0x70]
jb 0x4545a4
mov eax, dword [esi + 0x78]
push 4
lea ebx, [eax + eax*2]
call dword [sym.imp.OPENGL32.dll_glBegin]
xor edi, edi
test ebx, ebx
jbe 0x45471c
mov ebp, dword [sym.imp.OPENGL32.dll_glColor4fv]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
mov edx, dword [0x499444]
shl eax, 4
add eax, edx
push eax
call ebp
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + edi*4]
lea ecx, [eax + edx*8]
push ecx
call dword [sym.imp.OPENGL32.dll_glTexCoord2fv]
mov edx, dword [esi + 0x74]
mov ecx, dword [0x499448]
mov eax, dword [edx + edi*4]
shl eax, 4
add eax, ecx
push eax
call dword [sym.imp.OPENGL32.dll_glVertex4fv]
inc edi
cmp edi, ebx
jb 0x4546d8
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x150
jmp dword [sym.imp.OPENGL32.dll_glEnd]
fld dword [edi + 4]
fcomp dword [0x46c334]
fnstsw ax
test ah, 5
jnp 0x454286
mov dword [esp + 0x28], 0x3f800000
jmp 0x453dcc
pop esi
add esp, 0x150
ret