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

Disassembly:
push 0xffffffffffffffff
push 0x5b176b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov eax, dword [esp + 0x15c]
mov edi, dword [esp + 0x158]
mov ebp, ecx
push 8
lea ecx, [esp + 0x50]
lea esi, [ebp + 4]
push ecx
mov ecx, esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], eax
call fcn.00499ab0
xor ebx, ebx
cmp esi, ebx
je 0x455023
lea eax, [ebp + 0x38]
jmp 0x455025
xor eax, eax
push 0x19
push eax
lea ecx, [ebp + 0x60]
call fcn.004ce550
mov edx, dword [esp + 0x15c]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x6c], edx
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
mov dword [ebp + 0x7c], ebx
mov eax, dword [0x69fadc]
imul eax, dword [0x69fad8]
sub esp, 0x24
mov edi, esp
mov ecx, 9
lea esi, [esp + 0x78]
sub ebp, 0xffffff80
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.004543a0
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x69fadc]
fild dword [eax + 0x28]
add eax, 4
xor edx, edx
mov dword [esp + 0x30], edx
fstp dword [esp + 0x34]
fild dword [eax + 0x28]
mov eax, dword [0x69fad8]
fstp dword [esp + 0x48]
cmp ecx, ebx
jbe 0x4551ae
fld qword [0x5d4450]
fld1
mov esi, edx
mov dword [esp + 0x40], esi
fild dword [esp + 0x40]
test esi, esi
jge 0x4550ba
fadd dword [0x5d36c0]
mov edi, eax
fmul st(2)
imul edi, edx
fstp dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x44], edi
cmp eax, ebx
jbe 0x45519d
fld dword [esp + 0x38]
lea edi, [edi + edi*8]
fld st(0)
add edi, edi
fchs
add edi, edi
fstp dword [esp + 0x18]
fldz
fstp dword [esp + 0x1c]
fdiv dword [esp + 0x48]
fstp dword [esp + 0x50]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x44]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esi + ecx]
cmp edx, eax
jb 0x455127
fstp st(0)
fstp st(0)
call fcn.00589a8c
fld qword [0x5d4450]
fld1
mov eax, dword [ebp + 0xc]
mov ecx, esi
add eax, edi
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
test ecx, ecx
jge 0x455140
fadd dword [0x5d36c0]
mov ecx, dword [esp + 0x18]
fmul st(2)
inc esi
add edi, 0x24
fst dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [eax], edx
fxch st(1)
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
fst dword [eax + 0x18]
fst dword [eax + 0xc]
mov edx, dword [esp + 0x50]
fst dword [eax + 0x10]
fst dword [eax + 0x14]
mov dword [eax + 0x20], edx
fld dword [esp + 0x34]
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x1c], ecx
mov eax, dword [0x69fad8]
cmp esi, eax
jb 0x4550f4
mov ecx, dword [0x69fadc]
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
cmp edx, ecx
jb 0x4550a6
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x3c]
imul ecx, eax
lea eax, [ecx + ecx*8]
add eax, eax
add eax, eax
push eax
lea ecx, [edi + 0xb0]
call fcn.004bf7d0
mov esi, dword [0x67f2f4]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x4c], esp
call fcn.004d9290
lea ebp, [edi + 0x98]
push esi
mov ecx, ebp
call fcn.004548a0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
xor esi, esi
add ecx, edx
mov dword [esp + 0x38], esi
test ecx, ecx
jle 0x4553a9
mov dword [esp + 0x30], ebx
jmp 0x455218
mov esi, dword [esp + 0x38]
mov ebp, dword [0x69fad8]
push 4
add ebp, ebp
call fcn.00589ab7
add esp, 4
cmp eax, ebx
je 0x455236
lea edx, [esp + 0x14]
mov dword [eax], edx
jmp 0x455238
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push ebx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x158], 1
call fcn.00454470
mov ecx, dword [0x69fad8]
mov eax, ecx
imul eax, esi
mov dword [esp + 0x34], eax
lea eax, [esi + 1]
mov dword [esp + 0x40], eax
imul eax, ecx
xor edi, edi
shr ebp, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebp
je 0x4552e8
xor esi, esi
jmp 0x455290
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
sar eax, 1
cmp esi, eax
jb 0x4552a3
call fcn.00589a8c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
movzx ebp, di
lea edx, [ecx + ebp]
mov word [eax + esi*2], dx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x20]
lea edx, [esi + 1]
sar ecx, 1
cmp edx, ecx
jb 0x4552cb
call fcn.00589a8c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
add ebp, eax
mov word [ecx + esi*2 + 2], bp
inc edi
add esi, 2
cmp edi, dword [esp + 0x48]
jb 0x455290
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x34], eax
jne 0x4552fd
call fcn.00589a8c
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0xa8]
sub ecx, dword [edi + 0xa4]
mov ebp, dword [esp + 0x20]
add edi, 0x98
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x455330
call fcn.00589a8c
mov ecx, dword [esp + 0x34]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 0xc]
add ecx, dword [esp + 0x30]
push edx
push ebp
call fcn.004d9340
mov eax, dword [esp + 0x20]
mov dword [esp + 0x150], 0xffffffff
cmp eax, ebx
je 0x455361
push eax
call fcn.0058984a
add esp, 4
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0058984a
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov esi, dword [esp + 0x44]
add dword [esp + 0x34], 0xc
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp esi, ecx
mov dword [esp + 0x38], esi
jl 0x455214
mov edi, dword [esp + 0x3c]
push 4
mov esi, 0xf
push str.0111
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401db0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x58]
mov ebp, 2
push eax
mov dword [esp + 0x158], ebp
call fcn.00495c50
add esp, 8
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x150], 4
jb 0x455404
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0058984a
add esp, 4
push 8
push str.POSITION
lea ecx, [esp + 0xbc]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401db0
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
push 5
push str.COLOR
lea ecx, [esp + 0xec]
mov byte [esp + 0x158], 5
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
call fcn.00401db0
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], 3
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], 0xc
mov dword [esp + 0x110], ebx
push 8
push str.TEXCOORD
lea ecx, [esp + 0x11c]
mov byte [esp + 0x158], 6
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
call fcn.00401db0
mov ebp, 1
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0x1c
mov dword [esp + 0x140], ebx
lea edx, [esp + 0x54]
push edx
push 3
lea eax, [esp + 0xbc]
push eax
lea ecx, [edi + 0xbc]
mov byte [esp + 0x15c], 7
call fcn.004be3c0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [edi + 0xfc]
call fcn.004bb0e0
push fcn.00401a50
push 3
push 0x30
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x160], 4
call fcn.0058a75e
cmp dword [esp + 0x6c], 4
mov dword [esp + 0x150], 0xffffffff
jb 0x455581
mov eax, dword [esp + 0x58]
push eax
call fcn.0058984a
add esp, 4
push 4
push str.0210
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00401db0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x158], 8
call fcn.00495c50
add esp, 8
push eax
lea ecx, [edi + 0x124]
mov byte [esp + 0x154], 9
call fcn.004bc4f0
cmp dword [esp + 0x6c], 4
jb 0x4555e2
mov eax, dword [esp + 0x58]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x6c], 3
mov dword [esp + 0x68], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x150], 0xffffffff
jb 0x455611
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0058984a
add esp, 4
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 0x14c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
call fcn.004bf640
lea eax, [esp + 0x14]
mov esi, 2
push eax
lea ecx, [edi + 0x164]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
mov byte [esp + 0x18], bl
call fcn.004d91c0
fldz
fst dword [esp + 0x94]
lea ecx, [esp + 0x78]
fst dword [esp + 0x9c]
push ecx
fst dword [esp + 0xa4]
lea ecx, [edi + 0x158]
fst dword [esp + 0xa8]
mov dword [esp + 0x88], 0x10
fst dword [esp + 0xac]
mov dword [esp + 0x8c], esi
fstp dword [esp + 0xb0]
mov dword [esp + 0x90], esi
fld dword [0x5d4288]
mov dword [esp + 0x94], esi
fstp dword [esp + 0xb4]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
call fcn.004bf4b0
push ebp
lea ecx, [edi + 0x16c]
call fcn.004bf1f0
push 0x40
lea ecx, [edi + 0x178]
call fcn.004bf980
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00589f78
add esp, 0x140
ret 8