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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
and dword [esp + 0x14], 0
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x100], 0
push esi
push edi
jle 0x4df653
lea eax, [ebx + 0x54]
mov dword [esp + 0x1c], eax
lea edi, [ebx + 0x38]
mov eax, dword [edi + 0xb0]
and dword [esp + 0x18], 0
test eax, eax
mov ecx, dword [edi]
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm0
mov dword [esp + 0x24], eax
jl 0x4df551
lea eax, [ebx + eax*2 + 0x134]
mov dword [esp + 0x28], eax
movzx eax, word [eax]
push eax
lea esi, [esp + 0x38]
call fcn.0043f8e8
mov ecx, dword [esp + 0x24]
lea eax, [ebx + ecx*8 + 0x104]
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x38]
movss xmm1, dword [eax]
addss xmm1, dword [esp + 0x34]
movss dword [eax + 4], xmm0
movss dword [eax], xmm1
movaps xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [ebx + ecx*8 + 0x108]
mov ecx, dword [edi]
movss dword [esp + 0x38], xmm0
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movss dword [esp + 0x3c], xmm0
call fcn.0043f952
mov cx, word [esp + 0x18]
mov eax, dword [esp + 0x28]
add word [eax], cx
movzx eax, word [eax]
movzx eax, ax
mov dword [esp + 0x18], eax
jmp 0x4df579
fld dword [ecx + 0x18]
mov edx, dword [ecx + 0x14]
push ecx
lea eax, [esp + 0x38]
fstp dword [esp]
call fcn.00440445
mov eax, dword [edi]
fld dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
lea esi, [esp + 0x1c]
fstp dword [esp]
call fcn.004403c2
cmp byte [ebx + 0x140], 0
movss xmm0, dword [esp + 0x34]
je 0x4df5ac
mov eax, dword [edi]
or dword [eax + 0x2c], 1
mulss xmm0, dword [0x55df54]
mov eax, 0x8000
sub eax, dword [esp + 0x18]
movss dword [esp + 0x34], xmm0
movzx eax, ax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
movzx eax, word [eax + 0x154]
push eax
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
call fcn.0043e538
mov eax, dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
pop ecx
mov ecx, dword [ebx + 0x28]
lea eax, [ecx + 0x148]
addss xmm0, dword [eax]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 8]
mov ax, word [ecx + 0x154]
add word [esp + 0x18], ax
push dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push dword [edi]
addss xmm0, dword [esp + 0x44]
push dword [eax]
lea eax, [esp + 0x40]
movss dword [esp + 0x48], xmm0
call fcn.004df330
add dword [esp + 0x28], 0xc
xorps xmm0, xmm0
add esp, 0xc
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add edi, 4
cmp eax, dword [ebx + 0x100]
jl 0x4df4a1
and dword [esp + 0x1c], 0
cmp dword [ebx + 0x168], 0
jle 0x4df7b2
lea edi, [ebx + 0x144]
mov dword [esp + 0x18], edi
jmp 0x4df678
xorps xmm0, xmm0
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, dword [eax + 0x50]
fld dword [ecx + 0x18]
mov edx, dword [ecx + 0x14]
and dword [esp + 0x20], 0
push ecx
lea eax, [esp + 0x38]
fstp dword [esp]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm0
call fcn.00440445
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
fld dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
lea esi, [esp + 0x24]
fstp dword [esp]
call fcn.004403c2
cmp byte [ebx + 0x140], 0
movss xmm1, dword [esp + 0x34]
je 0x4df6ed
mov eax, dword [edi]
mov eax, dword [eax + 0x50]
or dword [eax + 0x2c], 1
mulss xmm1, dword [0x55df54]
mov eax, 0x8000
sub eax, dword [esp + 0x20]
movzx ecx, ax
jmp 0x4df6f1
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x28]
add eax, 0x148
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [esp + 0x3c]
movzx eax, cx
movss dword [esp + 0x3c], xmm0
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x57f940]
push ecx
lea eax, [esp + 0x44]
movss dword [esp], xmm0
push eax
call fcn.004030d7
movss xmm0, dword [esp + 0x3c]
mov edi, dword [edi]
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x3c]
push 0x10
pop ecx
movss dword [esp + 0x78], xmm0
movss xmm0, dword [0x55b520]
add edi, ecx
movss dword [esp + 0x7c], xmm0
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0
push dword [ebp + 0xc]
call dword [eax + 8]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 4
cmp eax, dword [ebx + 0x168]
jl 0x4df671
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8