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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov ax, word [0x57bcb8]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push eax
push ecx
call fcn.00401be0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42ac0a
mov edx, dword [ebp + 0xc]
add edx, 0x18
mov dword [esp + 0xc], edx
fld dword [ebx + 0x770]
fmul dword [0x5333b8]
mov eax, dword [esp + 0xc]
lea esi, [ebx + 0x20]
lea edi, [ebx + 0x6c0]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x28]
fld dword [ebx + 0x774]
fmul dword [0x5333b8]
fstp dword [esp + 0x2c]
lea esi, [ebx + 0x70]
lea edi, [ebx + 0x694]
mov ecx, 0xa
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004b3360
add esp, 8
test al, al
jne 0x42a987
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
lea edi, [ebx + 0x70]
fld qword [eax]
fsub qword [edx]
fstp dword [esp + 0x18]
fld qword [eax + 8]
fsub qword [eax - 0x10]
fstp dword [esp + 0x1c]
fld qword [eax + 0x10]
fsub qword [eax - 8]
fstp dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004b4010
lea eax, [ebx + 0x88]
add esp, 8
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
fld dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov ecx, dword [ecx + 8]
fchs
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov edx, edi
fld dword [esp + 0x20]
fchs
fstp dword [esp + 0x20]
mov esi, dword [edx]
mov ecx, eax
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [ecx + 4], esi
lea esi, [esp + 0x60]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
mov ecx, edi
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x8c]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x90]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov ecx, dword [edi]
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x64], edx
mov edx, dword [ebx + 0x80]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebx + 0x78]
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x78], ecx
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], ecx
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
fld qword [edi]
fsub qword [eax]
fmul dword [ebx + 0x748]
fadd qword [eax]
fstp qword [esp + 0x48]
fld qword [edi + 8]
fsub qword [edi - 0x10]
fmul dword [ebx + 0x748]
fadd qword [edi - 0x10]
fstp qword [esp + 0x50]
fld qword [edi + 0x10]
fsub qword [edi - 8]
fmul dword [ebx + 0x748]
fadd qword [edi - 8]
fstp qword [esp + 0x58]
jmp 0x42a9d0
mov esi, dword [ebp + 0xc]
mov ecx, 0x3f800000
mov dword [ebx + 0x70], ecx
xor eax, eax
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x90], ecx
mov ecx, 6
lea edi, [esp + 0x48]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
fld dword [esp + 0x2c]
fmul dword [ebx + 0x78]
fld dword [esp + 0x28]
fmul dword [ebx + 0x74]
faddp st(1)
fld dword [esp + 0x28]
fmul dword [ebx + 0x80]
fld dword [esp + 0x2c]
fmul dword [ebx + 0x84]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x2c]
fmul dword [ebx + 0x90]
fld dword [esp + 0x28]
fmul dword [ebx + 0x8c]
faddp st(1)
fstp dword [esp + 0x38]
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
fld dword [esp + 0x34]
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fld dword [esp + 0x38]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld dword [ebx + 0x9c]
fld dword [ebx + 0xa0]
fcompp
fnstsw ax
test ah, 1
je 0x42aa51
fld dword [ebx + 0x9c]
jmp 0x42aa57
fld dword [ebx + 0xa0]
fld dword [ebx + 0x98]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x42aa70
fld dword [ebx + 0x98]
jmp 0x42aa93
fld dword [ebx + 0x9c]
fld dword [ebx + 0xa0]
fcompp
fnstsw ax
test ah, 1
je 0x42aa8d
fld dword [ebx + 0x9c]
jmp 0x42aa93
fld dword [ebx + 0xa0]
mov edx, dword [ebx + 0x6c]
fstp dword [esp + 0xc]
push edx
call fcn.004d0950
fmul dword [esp + 0x10]
lea eax, [esp + 0x4c]
fstp dword [esp]
push eax
push ebx
call fcn.00416920
push eax
call fcn.004c6940
mov eax, dword [ebp + 0x10]
add esp, 0x10
test eax, eax
jne 0x42ab4b
mov esi, dword [ebx + 8]
lea eax, [ebx + 0x20]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
test eax, eax
je 0x42ab4b
test esi, esi
je 0x42ab4b
mov eax, dword [0xafa7e0]
mov edx, dword [esi]
test edx, edx
je 0x42aaf6
mov ecx, dword [edx]
neg ecx
sbb ecx, ecx
and ecx, edx
jmp 0x42aaf8
xor ecx, ecx
mov dword [eax*4 + 0xafa6e0], ecx
inc eax
mov dword [0xafa7e0], eax
call fcn.004c5800
and eax, 0xff
xor edx, edx
mov dx, word [esi + 0x1c]
lea ecx, [eax + eax*2]
shl ecx, 7
add ecx, edx
mov eax, dword [ecx*4 + 0xa96ae0]
test eax, eax
je 0x42ab33
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
add esp, 8
mov eax, dword [0xafa7e0]
dec eax
mov dword [0xafa7e0], eax
mov esi, dword [eax*4 + 0xafa6e0]
test esi, esi
jne 0x42aae6
jmp 0x42ab50
mov eax, dword [0xafa7e0]
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x42abdf
lea edx, [ebx + 0x20]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], edx
lea edx, [ebx + 0x70]
mov dword [esp + 0x40], edx
mov esi, dword [ecx + 8]
cmp dword [esi], 0
je 0x42abdf
test esi, esi
je 0x42abdf
mov edx, dword [esi]
test edx, edx
je 0x42ab8c
mov ecx, dword [edx]
neg ecx
sbb ecx, ecx
and ecx, edx
jmp 0x42ab8e
xor ecx, ecx
mov dword [eax*4 + 0xafa6e0], ecx
inc eax
mov dword [0xafa7e0], eax
call fcn.004d9fb0
and eax, 0xff
lea edx, [eax + eax*2]
xor eax, eax
mov ax, word [esi + 0x1c]
shl edx, 7
add edx, eax
mov eax, dword [edx*4 + 0xa96ae0]
test eax, eax
je 0x42abc9
lea ecx, [esp + 0x3c]
push ecx
push esi
call eax
add esp, 8
mov eax, dword [0xafa7e0]
dec eax
mov dword [0xafa7e0], eax
mov esi, dword [eax*4 + 0xafa6e0]
test esi, esi
jne 0x42ab7c
mov dx, word [0x57bcb8]
push edx
push ebx
call fcn.00401c40
mov edx, dword [ebp + 0xc]
mov ebx, eax
add esp, 8
add edx, 0x18
add edi, 0x18
mov dword [ebp + 0xc], edx
test ebx, ebx
mov dword [esp + 0xc], edi
jne 0x42a7f3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret