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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505903
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push ecx
mov eax, esp
mov ecx, edi
push 0
push 0x1001800
push eax
call fcn.0049234b
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044ba04
mov eax, dword [edi + 0x1c]
mov ebx, 0x82
and dword [esp + 0x1c], 0
add eax, 0x14
cmp eax, ebx
cmovl ebx, eax
cmp dword [edi + 0x134], 0
jg 0x4a8db0
cmp dword [edi + 0xec], 2
jle 0x4a8dbe
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, 0x32
cmp eax, ebx
cmovl ebx, eax
mov eax, ebx
mov dword [esp + 0x4c], ebx
push 0xfffffffffffffff6
cdq
pop ecx
idiv ecx
cmp dword [edi + 0x94], 0
mov edx, eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
je 0x4a8ffe
lea ecx, [esp + 0x54]
call fcn.004470e5
and dword [esp + 0x80], 0
mov eax, dword [edi + 0x94]
cmp eax, 2
jne 0x4a8ea8
movd xmm1, ebx
lea esi, [edx + ebx]
cvtdq2ps xmm1, xmm1
lea edi, [edx + ebx]
mov dword [esp + 0x18], 0x55ff5555
mov byte [esp + 0x14], 0x21
movd xmm0, edx
mulss xmm1, dword [0x52f05c]
cvtdq2ps xmm0, xmm0
movd xmm2, edx
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
call fcn.004473b1
movd xmm2, edi
lea ecx, [esp + 0x54]
movd xmm1, esi
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.0044743c
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x54]
movd xmm0, edi
cvtdq2ps xmm2, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.0044743c
lea ecx, [esp + 0x54]
call fcn.00447652
movss xmm2, dword [0x52f290]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
call fcn.004491a0
push eax
lea ecx, [esp + 0x58]
call fcn.004471d7
push dword [esp + 0x24]
call fcn.004dc624
mov edi, dword [ebp + 0xc]
pop ecx
jmp 0x4a8edf
cmp eax, 3
mov edx, 0x605555ff
push 0x3f
mov ecx, 0x40b69900
cmove ecx, edx
mov dword [esp + 0x1c], ecx
pop ecx
push 0x69
pop edx
cmove ecx, edx
sub esp, 0x10
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x54]
push esp
call fcn.00474384
lea ecx, [esp + 0x64]
call fcn.00447a6f
lea ecx, [esp + 0x24]
call fcn.0046f64b
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x14]
movzx edx, al
call fcn.0042dcea
mov esi, eax
movd xmm0, ebx
lea ecx, [esp + 0x14]
cvtdq2ps xmm1, xmm0
mov byte [esp + 0x80], 2
push 1
mulss xmm1, dword [0x52f0d8]
call fcn.0046ed3c
push ecx
mov byte [esp + 0x84], 3
mov dword [esp], 0x3f333333
push 0
push ecx
mov ecx, esp
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
sub esp, 0xc
mov dword [ecx], 0x24
mov ecx, dword [esp + 0x5c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm3, ecx
lea ecx, [esp + 0x3c]
movss dword [esp], xmm0
cvtdq2ps xmm3, xmm3
push esi
push eax
call fcn.0046fc05
lea ecx, [esp + 0x14]
call fcn.004037f3
push ecx
mov ecx, esp
mov byte [esp + 0x84], 1
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
call fcn.0042db1d
mov ebx, dword [esp + 0x30]
pop ecx
test ebx, ebx
jle 0x4a8fb5
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.0046f5b0
add esi, 0x1c
dec ebx
jne 0x4a8fa3
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x1c]
mov eax, esp
mov byte [esp + 0x74], 0
mov dword [eax], ecx
mov ecx, esi
call fcn.0044b67d
push 0x54ea74
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.0044ba75
push 0x50
pop ebx
lea ecx, [esp + 0x24]
call fcn.0047499d
or dword [esp + 0x80], 0xffffffff
push dword [esp + 0x54]
call fcn.004dc624
pop ecx
jmp 0x4a9002
mov ebx, dword [esp + 0x1c]
push ecx
mov eax, esp
mov ecx, edi
push 0
push 0x1001810
push eax
call fcn.0049234b
mov ecx, esi
call fcn.0044b67d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
add eax, ebx
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 8]
sub eax, ebx
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x44]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
push eax
call fcn.00474384
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.00470a26
push ecx
mov eax, esp
mov ecx, edi
push 0
push 0x1001820
push eax
call fcn.0049234b
mov ecx, esi
call fcn.0044b67d
push 1
push dword [edi + 0x1c]
xor edx, edx
lea ecx, [esp + 0x5c]
push dword [edi + 0x18]
push 0
call fcn.004786b9
add esp, 0xc
mov ecx, esi
push eax
call fcn.0044bb72
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10