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

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push ebx
push ebp
fld dword [edx + 0x100]
fsub dword [edx + 0xfc]
mov eax, dword [edx + 0x6c]
push esi
push edi
mov ebp, 0xb46d40
fdivr dword [0x5333e0]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
shl ecx, 5
mov esi, dword [eax + 0x2c]
mov al, byte [edx + 0x5b4]
add esi, ecx
test al, al
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x3c], esi
fstp dword [esp + 0x34]
je 0x49a155
fld dword [edx + 0xfc]
fadd dword [edx + 0x100]
mov edi, dword [esi + 4]
xor eax, eax
test edi, edi
fmul dword [0x533504]
fstp dword [esp + 0x18]
jle 0x49a316
fld dword [ecx]
fsub dword [esp + 0x18]
fld dword [ecx + 4]
fld dword [ecx + 8]
fld st(2)
fmul dword [edx + 0x70]
fld st(1)
fmul dword [edx + 0x78]
mov edi, ebp
inc eax
add ecx, 0x10
add ebp, 0xc
faddp st(1)
fld st(2)
fmul dword [edx + 0x74]
faddp st(1)
fstp dword [esp + 0x24]
fld st(2)
fmul dword [edx + 0x7c]
fld st(1)
fmul dword [edx + 0x84]
mov ebx, dword [esp + 0x24]
faddp st(1)
fld st(2)
fmul dword [edx + 0x80]
faddp st(1)
fstp dword [esp + 0x28]
fxch st(2)
fmul dword [edx + 0x88]
fxch st(2)
fmul dword [edx + 0x90]
faddp st(2)
fmul dword [edx + 0x8c]
mov dword [edi], ebx
mov ebx, dword [esp + 0x28]
faddp st(1)
mov dword [edi + 4], ebx
fstp dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov edi, dword [esi + 4]
cmp eax, edi
jl 0x49a0ca
jmp 0x49a316
mov al, byte [edx + 0x5b5]
test al, al
je 0x49a167
fld dword [edx + 0x100]
jmp 0x49a16d
fld dword [edx + 0xfc]
fchs
fild dword [edx + 0x59c]
test al, al
fmul dword [esp + 0x34]
je 0x49a17f
fchs
mov eax, dword [esi + 4]
mov dword [esp + 0x38], 0
test eax, eax
jle 0x49a312
fld st(1)
fadd dword [ecx]
mov eax, dword [edx + 0x59c]
fmul st(1)
fld st(0)
fistp qword [esp + 0x10]
mov esi, dword [esp + 0x10]
cmp esi, eax
mov dword [esp + 0x34], esi
jne 0x49a1b5
dec esi
mov dword [esp + 0x34], esi
fisub dword [esp + 0x34]
fld dword [0x5333ec]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49a1d2
fstp st(0)
fld dword [0x5333ec]
jmp 0x49a1e9
fld dword [0x5333e0]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49a1e9
fstp st(0)
fld dword [0x5333e0]
lea eax, [esi + esi*4]
lea edi, [esi + esi*2]
lea ebx, [esi + esi*2 + 0x42]
add ecx, 0x10
fld dword [edx + eax*8 + 0x208]
fmul dword [ecx - 8]
fld dword [edx + eax*8 + 0x204]
lea eax, [edx + eax*8]
lea edi, [edx + edi*4]
fmul dword [ecx - 0xc]
add ebp, 0xc
faddp st(1)
fld dword [eax + 0x214]
fmul dword [ecx - 8]
fld dword [eax + 0x210]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [eax + 0x220]
fmul dword [ecx - 8]
fld dword [eax + 0x21c]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x20]
fadd dword [edi + 0x104]
fld dword [esp + 0x1c]
fadd dword [edx + ebx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [edi + 0x10c]
fstp dword [esp + 0x20]
fld dword [eax + 0x230]
fmul dword [ecx - 8]
fld dword [eax + 0x22c]
fmul dword [ecx - 0xc]
faddp st(1)
fld dword [eax + 0x23c]
fmul dword [ecx - 8]
fld dword [eax + 0x238]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x28]
fld dword [eax + 0x248]
fmul dword [ecx - 8]
fld dword [eax + 0x244]
fmul dword [ecx - 0xc]
lea eax, [esi + esi*2 + 0x45]
mov esi, dword [esp + 0x3c]
faddp st(1)
fstp dword [esp + 0x2c]
fadd dword [edi + 0x110]
fld dword [esp + 0x28]
fadd dword [edx + eax*4]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [edi + 0x118]
fstp dword [esp + 0x2c]
fsub st(1)
fmul st(2)
fadd st(1)
fstp dword [ebp - 0xc]
fstp st(0)
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
fmul st(1)
fadd dword [esp + 0x1c]
fstp dword [ebp - 8]
fld dword [esp + 0x2c]
fsub dword [esp + 0x20]
fmul st(1)
fadd dword [esp + 0x20]
fstp dword [ebp - 4]
mov edi, dword [esi + 4]
fstp st(0)
cmp eax, edi
jl 0x49a192
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49a323
mov ecx, dword [esi + 4]
mov dword [eax], ecx
mov esi, dword [esi + 4]
pop edi
mov eax, ebp
lea edx, [esi + esi*2]
pop esi
shl edx, 2
pop ebp
sub eax, edx
pop ebx
add esp, 0x20
ret