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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ecx], 0
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x34], ecx
lea edi, [ecx + 4]
push 0xa
mov dword [ebp - 0x3c], eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x40]
mov esi, dword [ebp - 0x34]
mov ecx, esi
shr eax, 0x1c
and al, 3
mov byte [esi + 0x6d], al
call fcn.004c24b5
test al, al
jne 0x4c1ec7
mov ecx, esi
call fcn.004c2354
test al, al
jne 0x4c1ec7
xor al, al
jmp 0x4c2235
cmp dword [esi], 0
je 0x4c1ec0
xor eax, eax
inc eax
cmp byte [esi + 0x6d], 2
jne 0x4c1ed8
mov byte [esi + 0x6d], al
lea edi, [esi + 4]
mov ecx, edi
call fcn.0046226d
and eax, 0xfffffffe
neg eax
sbb al, al
inc al
cmp byte [esi + 0x6b], 0
jne 0x4c1eff
cmp byte [esi + 0x6c], 0
jne 0x4c1eff
xor ecx, ecx
inc ecx
mov byte [ebp - 0x2d], cl
jmp 0x4c1f1a
mov byte [ebp - 0x2d], 0
test al, al
jne 0x4c1f1a
push dword [esi + 0xa0]
mov ecx, edi
push dword [esi + 0x9c]
call fcn.004665bd
mov ecx, edi
call fcn.0046226d
cmp eax, 3
jg 0x4c2035
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00462ecf
test al, al
je 0x4c2035
cmp byte [ebp - 0x2d], 0
je 0x4c1f52
push dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.004c22d8
pop ecx
pop ecx
jmp 0x4c1fb3
lea ecx, [ebp - 0x2c]
call fcn.0046226d
test al, 2
je 0x4c1fb0
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [0x555b08]
movsd xmm2, qword [0x555b20]
subss xmm0, xmm1
movss xmm3, dword [0x598c40]
cvtps2pd xmm0, xmm0
andpd xmm0, xmm2
cvtpd2ps xmm0, xmm0
comiss xmm3, xmm0
jb 0x4c2035
movss xmm0, dword [ebp - 0x1c]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
andpd xmm0, xmm2
cvtpd2ps xmm0, xmm0
comiss xmm3, xmm0
jb 0x4c2035
xor eax, eax
inc eax
test al, al
je 0x4c2035
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x555b04]
push ecx
push ecx
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x38], xmm0
fld qword [ebp - 0x38]
fstp qword [esp]
call fcn.0052dc90
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
cvtpd2ps xmm0, xmm0
push ecx
xorps xmm0, xmmword [0x555c40]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x555b04]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x38], xmm0
fld qword [ebp - 0x38]
fstp qword [esp]
call fcn.0052dc90
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
add esp, 4
cvtpd2ps xmm0, xmm0
mov ecx, edi
xorps xmm0, xmmword [0x555c40]
movss dword [esp], xmm0
call fcn.0046732b
mov ecx, edi
call fcn.0046226d
and eax, 0x1f
mov ecx, edi
mov eax, dword [eax*4 + 0x5925a0]
mov dword [esi + 0x2c], eax
call fcn.0046226d
mov byte [esi + 0x6a], al
movss xmm0, dword [edi]
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
mov dword [esi + 0x60], eax
movss xmm0, dword [edi]
mulss xmm0, dword [0x598c48]
call fcn.0052ddde
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
mov dword [esi + 0x64], eax
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x598c48]
call fcn.0052ddde
mov dword [esi + 0x38], eax
mov ecx, edi
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x3c], edx
movzx eax, byte [eax + 0x37]
inc ax
mov word [esi + 0x68], ax
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
call fcn.0046226d
and eax, 0xfffffffe
neg eax
sbb al, al
inc al
cmp byte [esi + 0x6d], 3
mov byte [ebp - 0x34], al
jne 0x4c20f3
mov ecx, esi
call fcn.004d3716
test al, al
jne 0x4c20f3
xor eax, eax
inc eax
mov byte [esi + 0x6d], al
jmp 0x4c20f6
xor eax, eax
inc eax
cmp byte [esi + 0x6d], al
jne 0x4c2114
cmp byte [esi + 0x6a], al
jbe 0x4c2110
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
or ecx, dword [eax + 0x18]
test ecx, 0xffffc000
je 0x4c2114
mov byte [esi + 0x6d], 0
push dword [ebp - 0x34]
mov ecx, esi
call fcn.004d21bb
mov dword [esi + 0x78], eax
test eax, eax
je 0x4c1ec0
mov al, byte [esi + 0x6d]
mov edx, dword [esi]
cmp al, 3
jae 0x4c222b
xor edi, edi
mov ecx, 0x100
cmp word [esi + 0x68], cx
push 1
pop ecx
cmovb edi, ecx
cmp byte [esi + 0x6a], 3
mov ecx, dword [edx + 0x24]
ja 0x4c2153
or edi, 2
test al, al
je 0x4c215a
or edi, 4
mov eax, dword [edx + 0x20]
dec eax
je 0x4c21af
dec eax
je 0x4c21aa
dec eax
je 0x4c2195
dec eax
dec eax
je 0x4c2184
dec eax
jne 0x4c1ec0
cmp ecx, 2
je 0x4c217f
inc eax
cmp ecx, eax
jne 0x4c1ec0
or edi, 0x10
jmp 0x4c21c1
cmp ecx, 2
je 0x4c21c1
xor edx, edx
inc edx
cmp ecx, edx
je 0x4c21c4
jmp 0x4c1ec0
xor edx, edx
inc edx
cmp ecx, 2
je 0x4c21a5
cmp ecx, edx
jne 0x4c1ec0
or edi, 0x18
jmp 0x4c21c4
or edi, 8
jmp 0x4c21c1
mov eax, dword [ebp - 0x3c]
or edi, 0x20
push dword [eax + 0x34]
call fcn.0046ad21
pop ecx
mov dword [esi + 0x5c], eax
xor edx, edx
inc edx
mov ecx, dword [edi*4 + 0x598b50]
sar edi, 1
mov dword [esi + 0x7c], ecx
mov eax, dword [edi*4 + 0x598bf0]
mov dword [esi + 0x80], eax
cmp eax, 0x4bf0c4
jne 0x4c2206
cmp byte [ebp - 0x2d], 0
je 0x4c21f3
mov dword [esi + 0x74], 0x4be700
jmp 0x4c221b
cmp byte [esi + 0x6b], dl
jne 0x4c221b
cmp byte [esi + 0x6c], dl
jne 0x4c221b
mov dword [esi + 0x74], 0x4beee9
jmp 0x4c221b
cmp ecx, 0x4c1a8f
jne 0x4c221b
cmp byte [ebp - 0x2d], 0
je 0x4c221b
mov dword [esi + 0x70], 0x4be921
cmp dword [esi + 0x70], 0
jne 0x4c222b
mov ecx, esi
call fcn.004c2247
mov dword [esi + 0x70], eax
mov ecx, esi
call fcn.0049ac69
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00527f3e
mov esp, ebp
pop ebp
ret 8