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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi]
mov eax, dword [ecx + 0x8a4]
mov eax, dword [eax + 0x398]
xor ebx, ebx
push edi
cmp eax, ebx
je 0x414e07
cmp dword [esi + 4], ebx
jne 0x414e07
shr eax, 1
mov dword [esi + 4], eax
mov ecx, dword [ecx + 0x8a4]
mov eax, dword [ecx + 0x3d8]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
movss xmm2, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax + 8]
subss xmm2, dword [eax]
lea ecx, [esp + 0x24]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
call fcn.0043cf00
fmul dword [0x565d74]
mov eax, dword [esi + 4]
xor ecx, ecx
lea eax, [eax + eax*2]
fstp dword [esi + 8]
mov edx, 0x30
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054791c
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
xor ecx, ecx
lea eax, [eax + eax*2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0054791c
add esp, 8
xor edi, edi
mov dword [esi + 0x20], eax
mov dword [esp + 0x20], ebx
cmp dword [esi + 4], ebx
jbe 0x414e07
xorps xmm4, xmm4
movss xmm5, dword [0x5652d0]
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x98], xmm4
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x28], xmm4
movss dword [esp + 0x2c], xmm4
lea ebp, [ebx + 2]
lea esp, [esp]
mov ecx, dword [esi]
lea eax, [ebx + ebx*2]
add eax, eax
push ecx
mov ecx, dword [ecx + 0x8a4]
mov edx, dword [ecx + 0x3d8]
add eax, eax
add eax, eax
add edx, eax
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0xa4]
push eax
movss dword [esp + 0x6c], xmm4
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x74], xmm4
call fcn.00463530
mov eax, dword [esi]
mov ecx, dword [eax + 0x8a4]
mov edx, dword [ecx + 0x3d8]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [edx + eax + 0xc]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.00463530
mov eax, dword [esi]
cmp dword [eax + 0x9d4], 0x100
movss xmm5, dword [0x5652d0]
jne 0x414b62
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x70]
movss xmm1, dword [0x565350]
andps xmm0, xmm1
comiss xmm5, xmm0
jbe 0x414b62
xorps xmm4, xmm4
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x7c], xmm4
movq xmm0, qword [esp + 0x78]
movss dword [esp + 0x80], xmm5
mov edx, dword [esp + 0x80]
movq qword [esp + 0x60], xmm0
jmp 0x414b6f
mov edx, dword [esp + 0x68]
movq xmm0, qword [esp + 0x60]
xorps xmm4, xmm4
mov eax, dword [esp + 0x74]
fnstcw word [esp + 0x14]
movss xmm1, dword [esi + 8]
mov ecx, dword [esp + 0x98]
movss xmm2, dword [0x565930]
movss xmm3, dword [0x565d48]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], ecx
lea ecx, [ebx + ebx*8]
movss dword [esp + 0x90], xmm1
movq xmm1, qword [esp + 0x90]
movss dword [esp + 0x40], xmm2
movq xmm2, qword [esp + 0x6c]
shl ecx, 4
movq qword [eax + ecx], xmm1
add eax, ecx
mov dword [esp + 0x3c], 0xff000000
movq xmm1, qword [esp + 0x38]
movq qword [eax + 8], xmm1
movss dword [esp + 0x44], xmm3
movq xmm1, qword [esp + 0x40]
movq qword [eax + 0x10], xmm1
movq qword [eax + 0x18], xmm2
movq qword [esp + 0x54], xmm0
movq xmm1, qword [esp + 0x50]
movq qword [eax + 0x20], xmm1
mov dword [esp + 0x5c], edx
movq xmm1, qword [esp + 0x58]
movq qword [eax + 0x28], xmm1
fld dword [esi + 0xc]
mov eax, dword [esp + 0x8c]
fld dword [0x565328]
mov dword [esp + 0x38], eax
fmul st(1), st(0)
movzx eax, word [esp + 0x14]
fxch st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
movss xmm2, dword [0x565d70]
movq xmm1, qword [esp + 0x84]
fldcw word [esp + 0x18]
movss dword [esp + 0x40], xmm2
movss xmm2, dword [0x565980]
movss dword [esp + 0x44], xmm2
movq xmm2, qword [esp + 0x9c]
movq qword [esp + 0x54], xmm0
fistp qword [esp + 0x18]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x18]
or ebx, 0xffffff00
shl ebx, 8
fldcw word [esp + 0x14]
fld dword [esi + 0x10]
fnstcw word [esp + 0x14]
fmul st(1)
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
and eax, 0xff
or ebx, eax
fldcw word [esp + 0x14]
shl ebx, 8
fmul dword [esi + 0x14]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
and eax, 0xff
or ebx, eax
mov eax, dword [esp + 0xa4]
fldcw word [esp + 0x14]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], ebx
movq qword [ecx + eax + 0x30], xmm1
movq xmm1, qword [esp + 0x38]
movq qword [ecx + eax + 0x38], xmm1
movq xmm1, qword [esp + 0x40]
movq qword [ecx + eax + 0x40], xmm1
movq xmm1, qword [esp + 0x50]
movq qword [ecx + eax + 0x48], xmm2
movq qword [ecx + eax + 0x50], xmm1
movq xmm1, qword [esp + 0x58]
movss xmm2, dword [0x565d5c]
lea eax, [ecx + eax + 0x30]
movq qword [eax + 0x28], xmm1
mov eax, dword [esp + 0x2c]
movss xmm1, dword [0x5652f8]
subss xmm1, dword [esi + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x1c]
lea eax, [ecx + edx + 0x60]
movq qword [esp + 0x54], xmm0
movss dword [esp + 0x40], xmm2
movq xmm2, qword [esp + 0x6c]
movss dword [esp + 0x24], xmm1
movq xmm1, qword [esp + 0x24]
movq qword [eax], xmm1
mov dword [esp + 0x3c], 0xff000000
movq xmm0, qword [esp + 0x38]
movq qword [eax + 8], xmm0
movss dword [esp + 0x44], xmm3
movq xmm0, qword [esp + 0x40]
movq qword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [eax + 0x18], xmm2
movq qword [eax + 0x20], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [eax + 0x28], xmm0
mov edx, dword [esi + 0x20]
movzx ecx, di
lea eax, [ebp - 2]
mov word [edx + ecx*2], ax
mov edx, dword [esi + 0x20]
inc edi
movzx ecx, di
lea eax, [ebp - 1]
mov word [edx + ecx*2], ax
mov ecx, dword [esi + 0x20]
inc edi
movzx eax, di
mov word [ecx + eax*2], bp
mov eax, dword [esp + 0x20]
inc eax
movzx ebx, ax
inc edi
add ebp, 3
mov dword [esp + 0x20], eax
cmp ebx, dword [esi + 4]
jb 0x414aa0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret