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

Disassembly:
sub esp, 0x74
fld dword [0x612224]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x34]
fld dword [esp + 0x78]
fld qword [0x612258]
call fcn.005ce01a
fstp dword [esp + 4]
fld dword [esp + 0x78]
sub esp, 8
fstp qword [esp]
call fcn.005c8f50
fstp dword [esp + 0x30]
add esp, 8
fld dword [esp + 0x28]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cx, word [edi + 0x22]
cmp ax, cx
jl 0x4d8c3b
lea eax, [ecx - 1]
movsx edx, ax
mov dword [esp + 0x28], edx
mov dword [esp + 4], 0x3f800000
fild dword [esp + 0x28]
fstp dword [esp + 0x78]
cmp word [edi + 0x20], 1
jne 0x4d8ff2
push ebx
mov bx, word [edi + 0x3a]
and bx, 1
je 0x4d8c6c
mov dl, byte [0x624a98]
test dl, dl
jne 0x4d8c65
mov edx, dword [edi + 0x88]
test edx, edx
jne 0x4d8c6c
mov byte [esp + 7], 1
jmp 0x4d8c71
mov byte [esp + 7], 0
movsx edx, ax
movsx eax, cx
dec eax
cmp edx, eax
mov dword [esp + 0x30], edx
jne 0x4d8c84
xor ecx, ecx
jmp 0x4d8c87
lea ecx, [edx + 1]
test bx, bx
je 0x4d8c99
mov al, byte [0x624a98]
test al, al
je 0x4d8c99
mov al, 1
jmp 0x4d8c9b
xor al, al
test al, al
push ebp
mov ebp, dword [edi + 0xac]
push esi
mov esi, ebp
je 0x4d8cb1
mov eax, dword [edi + 0x88]
jmp 0x4d8cb8
movsx eax, word [edi + 0x24]
imul eax, edx
add esi, eax
xor edx, edx
cmp bx, dx
mov dword [esp + 0x18], esi
je 0x4d8cd2
mov al, byte [0x624a98]
test al, al
je 0x4d8cd2
mov al, 1
jmp 0x4d8cd4
xor al, al
test al, al
je 0x4d8ce0
mov eax, dword [edi + 0x88]
jmp 0x4d8cea
movsx eax, word [edi + 0x24]
movsx ecx, cx
imul eax, ecx
add ebp, eax
xor ebx, ebx
cmp word [edi + 0x2c], dx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edx
jle 0x4d8fef
jmp 0x4d8d10
mov eax, dword [esp + 0x8c]
movsx edx, bx
shl edx, 5
add edx, eax
test bl, 0x1f
mov dword [esp + 0x14], edx
jne 0x4d8d4a
mov ax, bx
sar ax, 5
movsx eax, ax
mov ecx, dword [edi + eax*4 + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + eax*4 + 0x6c]
mov eax, dword [edi + eax*4 + 0x7c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
test byte [esp + 0x20], 1
je 0x4d8e91
mov al, byte [esp + 0xf]
test al, al
je 0x4d8d88
mov edx, dword [esp + 0x1c]
fild dword [esp + 0x38]
lea ecx, [esp + 0x50]
push ecx
push ebx
push edx
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.004d9f60
mov eax, dword [esp + 0x2c]
add esp, 0x10
inc eax
mov dword [esp + 0x1c], eax
jmp 0x4d8e61
movsx eax, word [esi]
movsx ecx, word [esi + 2]
movsx edx, word [esi + 4]
mov dword [esp + 0x18], eax
movsx eax, word [esi + 6]
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
movsx ecx, word [ebp]
fmul dword [0x612330]
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x70]
movsx ecx, word [ebp + 6]
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
fmul dword [0x612330]
movsx edx, word [ebp + 2]
fstp dword [esp + 0x74]
add esi, 8
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
movsx eax, word [ebp + 4]
fmul dword [0x612330]
add ebp, 8
fstp dword [esp + 0x78]
fild dword [esp + 0x18]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x50]
fmul dword [0x612330]
fstp dword [esp + 0x7c]
fild dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
push edx
fmul dword [0x612330]
lea edx, [esp + 0x74]
fstp dword [esp + 0x64]
fild dword [esp + 0x40]
mov dword [esp + 0x40], eax
fmul dword [0x612330]
fstp dword [esp + 0x68]
fild dword [esp + 0x40]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
fmul dword [0x612330]
fstp dword [esp + 0x6c]
fild dword [esp + 0x40]
fmul dword [0x612330]
fstp dword [esp + 0x70]
call fcn.004d10c0
add esp, 4
mov ecx, esi
call fcn.004d0f20
mov eax, dword [esp + 0x88]
mov edx, dword [0x631d28]
lea esi, [esp + 0x50]
push eax
mov ecx, esi
call fcn.004d10c0
add esp, 4
call fcn.004d0f20
mov eax, dword [esp + 0x14]
mov edx, eax
call fcn.004d0ff0
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov al, byte [esp + 0x28]
shr ecx, 1
test al, 1
mov dword [esp + 0x20], ecx
je 0x4d8f58
mov al, byte [esp + 0xf]
test al, al
je 0x4d8edb
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x44]
push ecx
push ebx
push edx
push eax
mov ecx, edi
call fcn.004da0f0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
add esp, 0x10
inc eax
mov dword [esp + 0x24], eax
jmp 0x4d8f25
fld dword [0x612224]
mov eax, esi
fsub dword [esp + 0x10]
mov ecx, ebp
add esi, 0xc
mov dword [esp + 0x18], esi
fld st(0)
add ebp, 0xc
fmul dword [eax]
fld dword [esp + 0x10]
fmul dword [ecx]
faddp st(1)
fstp dword [esp + 0x44]
fld st(0)
fmul dword [eax + 4]
fld dword [esp + 0x10]
fmul dword [ecx + 4]
faddp st(1)
fstp dword [esp + 0x48]
fmul dword [eax + 8]
fld dword [esp + 0x10]
fmul dword [ecx + 8]
faddp st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fmul dword [esp + 0x88]
fadd dword [edx + 0x10]
fstp dword [edx + 0x10]
fld dword [esp + 0x48]
fmul dword [esp + 0x88]
fadd dword [edx + 0x14]
fstp dword [edx + 0x14]
fld dword [esp + 0x4c]
fmul dword [esp + 0x88]
fadd dword [edx + 0x18]
fstp dword [edx + 0x18]
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x30]
shr ecx, 1
test al, 1
mov dword [esp + 0x28], ecx
je 0x4d8fda
mov al, byte [esp + 0xf]
test al, al
je 0x4d8f9c
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x34]
push ecx
push edx
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004da280
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add esp, 8
inc eax
mov dword [esp + 0x2c], eax
jmp 0x4d8fc5
fld dword [esi]
add esi, 4
fld dword [ebp]
mov dword [esp + 0x18], esi
fld dword [0x612224]
add ebp, 4
fsub dword [esp + 0x10]
fmul st(2)
fxch st(1)
fmul dword [esp + 0x10]
faddp st(1)
fstp dword [esp + 0x34]
fstp st(0)
fld dword [esp + 0x34]
fmul dword [esp + 0x88]
fadd dword [esp + 0x40]
fmul dword [edx + 0x1c]
fstp dword [edx + 0x1c]
mov edx, dword [esp + 0x30]
shr edx, 1
inc ebx
cmp bx, word [edi + 0x2c]
mov dword [esp + 0x30], edx
jl 0x4d8d10
pop esi
pop ebp
pop ebx
add esp, 0x74
ret