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

Disassembly:
sub esp, 0xdc
mov edx, dword [esp + 0xe4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push esi
mov dword [esp + 0x14], eax
mov eax, dword [edx + 8]
push edi
mov dword [esp + 0x1c], ecx
xor edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0x3f800000
xor ecx, ecx
mov esi, edx
fld dword [esi]
fabs
fld dword [esp + 0x14]
fld st(1)
fcompp
fnstsw ax
test ah, 1
je 0x42be7c
fstp dword [esp + 0x14]
mov edi, ecx
jmp 0x42be7e
fstp st(0)
inc ecx
add esi, 4
cmp ecx, 3
jl 0x42be61
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
push edx
mov dword [esp + edi*4 + 0x30], 0x3f800000
call fcn.0042c210
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
add esp, 0xc
fld dword [esp + 0xc]
fmul dword [esp + 0xc]
faddp st(1)
fld dword [esp + 8]
fmul dword [esp + 8]
faddp st(1)
fsqrt
fcom dword [0x4bc2d8]
fnstsw ax
test ah, 0x40
jne 0x42bf09
fdivr dword [0x4bc318]
fld st(0)
fmul dword [esp + 8]
fstp dword [esp + 8]
fld st(0)
fmul dword [esp + 0xc]
fstp dword [esp + 0xc]
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
jmp 0x42bf0b
fstp st(0)
fld dword [esp + 0xc]
mov eax, dword [esp + 8]
fmul dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fmul dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
fsubp st(1)
mov dword [esp + 0x38], ecx
fld dword [esp + 0x10]
mov dword [esp + 0x48], edx
fmul dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fld dword [esp + 8]
mov dword [esp + 0x44], edx
fmul dword [esp + 0x20]
mov ecx, 9
lea esi, [esp + 0x30]
lea edi, [esp + 0x54]
fsubp st(1)
mov edx, dword [esp + 0x10]
fld dword [esp + 8]
fmul dword [esp + 0x1c]
fld dword [esp + 0xc]
fmul dword [esp + 0x18]
fsubp st(1)
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
fld st(1)
mov eax, dword [esp + 0x20]
fstp dword [esp + 0x34]
mov dword [esp + 0x50], eax
fstp dword [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x60]
fld dword [esp + 0xf4]
fmul dword [0x4bc3cc]
mov ecx, dword [esp + 0xc]
fmul dword [0x4bc3d8]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
fst dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fcos
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov ecx, 9
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0xa4], 0x3f800000
fst dword [esp + 0x84]
fld dword [esp + 0x20]
fsin
fst dword [esp + 0x88]
fchs
fstp dword [esp + 0x90]
fstp dword [esp + 0x94]
call fcn.0042c890
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.0042c890
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x100]
add esp, 0x18
lea eax, [esp + 0xc4]
mov esi, 3
fld dword [eax + 4]
add eax, 0xc
fmul dword [ecx + 8]
add edx, 4
dec esi
fld dword [eax - 0x10]
fmul dword [ecx]
faddp st(1)
fld dword [ecx + 4]
fmul dword [eax - 0xc]
faddp st(1)
fstp dword [edx - 4]
jne 0x42c065
pop edi
pop esi
add esp, 0xdc
ret