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

Disassembly:
push 0xffffffffffffffff
push 0x5b1b45
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [esp + 0x140]
mov ebx, dword [esp + 0x144]
mov ebp, ecx
push 8
lea ecx, [esp + 0x18]
lea edi, [ebp + 4]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call fcn.00499ab0
xor esi, esi
cmp edi, esi
je 0x45a41f
lea eax, [ebp + 0x38]
jmp 0x45a421
xor eax, eax
push 0x19
push eax
lea ecx, [ebp + 0x60]
call fcn.004ce550
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x68], edx
lea eax, [eax + eax*2]
sub esp, 0x24
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x7c], esi
mov edi, esp
add eax, eax
mov ecx, 9
lea esi, [esp + 0x60]
add eax, eax
lea ebx, [ebp + 0x80]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.004543a0
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor esi, esi
xor edi, edi
test ecx, ecx
jle 0x45a4fa
fld1
mov dword [esp + 0x14], esi
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45a4ba
fstp st(0)
call fcn.00589a8c
fld1
mov eax, dword [ebx + 0xc]
fldz
mov ecx, dword [esp + 0x14]
fstp dword [eax + ecx + 8]
add eax, ecx
add ecx, 0x24
fst dword [eax + 0x18]
mov dword [esp + 0x14], ecx
fst dword [eax + 0xc]
inc edi
fst dword [eax + 0x10]
fst dword [eax + 0x14]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jl 0x45a496
fstp st(0)
push 4
mov edi, 0xf
push str.0101
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.00401db0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x140], esi
call fcn.00495c50
add esp, 8
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x138], 2
jb 0x45a551
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0058984a
add esp, 4
push 8
push str.POSITION
lea ecx, [esp + 0xa4]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.00401db0
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], 2
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
push 5
push str.COLOR
lea ecx, [esp + 0xd4]
mov byte [esp + 0x140], 3
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], esi
mov byte [esp + 0xd8], 0
call fcn.00401db0
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], 3
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], 0xc
mov dword [esp + 0xf8], esi
push 8
push str.TEXCOORD
lea ecx, [esp + 0x104]
mov byte [esp + 0x140], 4
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], esi
mov byte [esp + 0x108], 0
call fcn.00401db0
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], 1
mov dword [esp + 0x120], esi
mov dword [esp + 0x124], 0x1c
mov dword [esp + 0x128], esi
lea edx, [esp + 0x3c]
push edx
push 3
lea eax, [esp + 0xa4]
push eax
lea ecx, [ebp + 0xa4]
mov byte [esp + 0x144], 5
call fcn.004be3c0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [ebp + 0xe4]
call fcn.004bb0e0
push fcn.00401a50
push 3
push 0x30
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0x148], 2
call fcn.0058a75e
cmp dword [esp + 0x54], 4
mov dword [esp + 0x138], 0xffffffff
jb 0x45a6d5
mov eax, dword [esp + 0x40]
push eax
call fcn.0058984a
add esp, 4
push 4
push str.0210
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x2c], 0
call fcn.00401db0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x140], 6
call fcn.00495c50
add esp, 8
push eax
lea ecx, [ebp + 0x10c]
mov byte [esp + 0x13c], 7
call fcn.004bc4f0
cmp dword [esp + 0x54], 4
jb 0x45a737
mov eax, dword [esp + 0x40]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x54], 3
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x138], 0xffffffff
jb 0x45a766
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0058984a
add esp, 4
lea edx, [esp + 0x14]
mov edi, 1
push edx
lea ecx, [ebp + 0x134]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], 0
call fcn.004bf640
lea eax, [esp + 0x14]
mov esi, 2
push eax
lea ecx, [ebp + 0x14c]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], 0
mov byte [esp + 0x18], 0
call fcn.004d91c0
fldz
fst dword [esp + 0x7c]
lea ecx, [esp + 0x60]
fst dword [esp + 0x84]
push ecx
fst dword [esp + 0x8c]
lea ecx, [ebp + 0x140]
fst dword [esp + 0x90]
mov dword [esp + 0x70], 0x10
fst dword [esp + 0x94]
mov dword [esp + 0x74], esi
fstp dword [esp + 0x98]
mov dword [esp + 0x78], esi
fld dword [0x5d4288]
mov dword [esp + 0x7c], esi
fstp dword [esp + 0x9c]
mov dword [esp + 0x84], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call fcn.004bf4b0
push edi
lea ecx, [ebp + 0x154]
call fcn.004bf1f0
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x45a842
call fcn.00589a8c
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*8]
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [ebp + 0x98]
call fcn.004bf7d0
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00589f78
add esp, 0x128
ret 8